# @stackblitz/sdk

> SDK for generating and embedding StackBlitz projects.

Latest version **1.11.1** (published 2026-07-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @stackblitz/sdk
pnpm add @stackblitz/sdk
yarn add @stackblitz/sdk
bun add @stackblitz/sdk
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.11.1 |
| Published | 2026-07-02 |
| First published | 2018-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 200.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 49 |
| Author | Eric Simons |
| Maintainers | ericmsimons, apai4, tsulkowski, d3lm |

## Links

- npm: https://www.npmjs.com/package/@stackblitz/sdk
- Repository: https://github.com/stackblitz/sdk
- Issues: https://github.com/stackblitz/sdk/issues
- npm.io page: https://npm.io/package/@stackblitz/sdk

## Recent versions

- 1.11.1 (latest) — 2026-07-02
- 1.11.0 — 2024-07-03
- 1.10.0 — 2024-05-08
- 1.9.0 — 2023-04-05
- 1.9.0-alpha.2 — 2023-03-13
- 1.9.0-alpha.1 — 2023-03-03
- 1.9.0-alpha.0 — 2023-02-03
- 1.8.2 — 2023-01-27
- 1.8.1 — 2022-11-10
- 1.8.0 — 2022-06-09
- 1.7.0 — 2022-05-09
- 1.7.0-alpha.3 — 2022-04-18
- 1.7.0-alpha.2 — 2022-04-02
- 1.7.0-alpha.1 — 2022-04-02
- 1.7.0-alpha.0 — 2022-03-31
- … 30 more at https://npm.io/package/@stackblitz/sdk/versions

## README

# StackBlitz SDK

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:

- [SDK overview](https://developer.stackblitz.com/platform/api/javascript-sdk)
- [Options reference](https://developer.stackblitz.com/platform/api/javascript-sdk-options)
- [Controlling embeds](https://developer.stackblitz.com/platform/api/javascript-sdk-vm)

## Reporting issues

- Issues with the SDK can be filed at https://github.com/stackblitz/sdk/issues
- Other issues with StackBlitz can be filed at https://github.com/stackblitz/core/issues

## Development

We use `npm` and Node 16+.

```sh
# 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 build
```

---
_Source: https://npm.io/package/@stackblitz/sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
