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.
Documentation
Check out our SDK documentation on developer.stackblitz.com:
# Install dependenciesnpm install# Start a development server to explore examplesnpm start# Run unit testsnpm test# Run end-to-end tests with mock servernpm run test:e2e# Run end-to-end tests against stackblitz.comSTACKBLITZ_SERVER_ORIGIN=https://stackblitz.com npm run test:e2e# Generate the 'bundles' and 'types' foldersnpm run build