contentstack/contentstack-marketplace-sdk · Archived

contentstack-javascript-marketplace

Mental model for the Marketplace SDK — client factory, org-scoped marketplace API, auth, regions, module map

First seen Jul 16, 2026

Installation

$ npx skills add contentstack/contentstack-marketplace-sdk --skill contentstack-javascript-marketplace

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Also in this package

Other skills from contentstack/contentstack-marketplace-sdk.

npx skills add contentstack/contentstack-marketplace-sdk

Browse all from contentstack/contentstack-marketplace-sdk

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,985 B
  • docs SUMMARY.md 153 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Contentstack JavaScript Marketplace SDK

Mental model

  1. contentstack.client(options) (lib/contentstack.js) creates an axios-based HTTP client pointed at the Developer Hub host (via @contentstack/utils + region), then wraps it with contentstackClient (lib/contentstackClient.js).
  2. Auth: Pass authtoken and/or authorization, or call login to set authtoken on shared axios defaults. Optional refreshToken callback supports rotation.
  3. Marketplace entry: client.marketplace(organization_uid) returns lib/marketplace/index.js — apps (app(), findAllApps, …), installations, hosting/deployments, webhooks, OAuth under app/oauth, authorization helpers, app requests.

Where to change things

Concern Primary paths
Client defaults, User-Agent, region → host lib/contentstack.js, lib/core/region.js
Login / logout / marketplace root lib/contentstackClient.js
Axios, retries (429), timeout, query encoding lib/core/contentstackHTTPClient.js
Request queuing lib/core/concurrency-queue.js
Error shape lib/core/contentstackError.js
Marketplace resources lib/marketplace/**/*.js
Public TypeScript types types/**/*.d.ts

Docs alignment

Describe behavior against Contentstack Marketplace / Developer Hub APIs. Do not document this package as CDA. Mention CMA-style tokens only when describing authtoken / management-style auth accurately.

Integration reminder

Downstream apps use @contentstack/marketplace-sdk with import contentstack from '@contentstack/marketplace-sdk' (see README). The built main field points to dist/node/... — edit lib/ and run npm run build for distributable changes.