Package Exports
- @stackblitz/sdk
- @stackblitz/sdk/bundles/sdk.js
- @stackblitz/sdk/bundles/sdk.m.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@stackblitz/sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
StackBlitz SDK
Wouldn't it be great if you could create StackBlitz projects on-demand from your docs, examples, blog posts?
This is exactly what the StackBlitz SDK allows you to do. Even better, the SDK even gives you full control of the StackBlitz VM - allowing you to build rich & interactive experiences around your projects. 😮 🙌
The SDK is 2kb gzipped (!) and you can install it from npm:
npm install --save @stackblitz/sdk
Or add a script tag to the UMD build on jsDelivr/Unpkg — the SDK will be available on window
as StackBlitzSDK
:
<script src="https://unpkg.com/@stackblitz/sdk/bundles/sdk.umd.js"></script>
Learn more on developer.stackblitz.com