StackBlitz JavaScript SDK

A lightweight (3kB gzipped) JavaScript SDK that lets developers programmatically create, open, and embed StackBlitz projects in web pages, documentation sites, or blog posts. Provides six primary methods including openProject, embedProject, openGithubProject, embedGithubProject, openProjectId, and embedProjectId, along with a VM interface for controlling embedded environments post-mount.

API entry from apis.yml

apis.yml Raw ↑
aid: stackblitz:javascript-sdk
name: StackBlitz JavaScript SDK
description: A lightweight (3kB gzipped) JavaScript SDK that lets developers programmatically create,
  open, and embed StackBlitz projects in web pages, documentation sites, or blog posts. Provides six primary
  methods including openProject, embedProject, openGithubProject, embedGithubProject, openProjectId, and
  embedProjectId, along with a VM interface for controlling embedded environments post-mount.
humanURL: https://developer.stackblitz.com/platform/api/javascript-sdk
tags:
- JavaScript
- SDK
- Embed
- IDE
properties:
- type: Documentation
  url: https://developer.stackblitz.com/platform/api/javascript-sdk
- type: SDKOptions
  url: https://developer.stackblitz.com/platform/api/javascript-sdk-options
- type: VMInterface
  url: https://developer.stackblitz.com/platform/api/javascript-sdk-vm