package
SDK for generating and embedding StackBlitz projects.
npm install @stackblitz/sdkGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 1 packages.
200.6 kB
Includes dependencies.
The StackBlitz JavaScript SDK lets you programmatically create StackBlitz projects to be opened in a new window or embedded in your docs, example pages, or blog posts.
Check out our SDK documentation on developer.stackblitz.com:
We use npm and Node 16+.
# Install dependencies
npm install
# Start a development server to explore examples
npm start
# Run unit tests
npm test
# Run end-to-end tests with mock server
npm run test:e2e
# Run end-to-end tests against stackblitz.com
STACKBLITZ_SERVER_ORIGIN=https://stackblitz.com npm run test:e2e
# Generate the 'bundles' and 'types' folders
npm run buildLatest published Jul 2, 2026
latest
apai4
iamalbertpai@gmail.com