René's URL Explorer Experiment


Title: Managing dependencies with the SDK | StackBlitz Docs

Open Graph Title: Managing dependencies with the SDK

X Title: Managing dependencies with the SDK

Description: When creating new projects with the `sdk.openProject` and `sdk.embedProject` methods, you can specify which npm dependencies should be installed on startup.

X Description: When creating new projects with the `sdk.openProject` and `sdk.embedProject` methods, you can specify which npm dependencies should be installed on startup.

X: @StackBlitz

Generator: VitePress v1.0.2

direct link

Domain: developers.stackblitz.com

og:typearticle
og:imagehttps://developer.stackblitz.com/img/og/sdk-managing-dependencies.png
twitter:cardsummary_large_image

Links:

Skip to content https://developers.stackblitz.com/platform/api/javascript-sdk-dependencies#VPContent
StackBlitz Docshttps://developers.stackblitz.com/
Guideshttps://developers.stackblitz.com/guides/user-guide/what-is-stackblitz
Codeflowhttps://developers.stackblitz.com/codeflow/what-is-codeflow
APIhttps://developers.stackblitz.com/platform/api/javascript-sdk
WebContainershttps://developers.stackblitz.com/platform/webcontainers/roadmap
Teamshttps://developers.stackblitz.com/teams/what-is-stackblitz-teams
Enterprisehttps://developers.stackblitz.com/enterprise/overview
Sign inhttps://stackblitz.com/sign_in
Get startedhttps://stackblitz.com/register
What is StackBlitzhttps://developers.stackblitz.com/guides/user-guide/what-is-stackblitz
Getting startedhttps://developers.stackblitz.com/guides/user-guide/getting-started
Starter projectshttps://developers.stackblitz.com/guides/user-guide/starter-projects
Available environmentshttps://developers.stackblitz.com/guides/user-guide/available-environments
Importing projectshttps://developers.stackblitz.com/guides/user-guide/importing-projects
IDE: what’s on your screenhttps://developers.stackblitz.com/guides/user-guide/ide-whats-on-your-screen
Collectionshttps://developers.stackblitz.com/guides/user-guide/collections
Keyboard shortcutshttps://developers.stackblitz.com/guides/user-guide/keyboard-shortcuts
General FAQshttps://developers.stackblitz.com/guides/user-guide/general-faqs
Embedding projectshttps://developers.stackblitz.com/guides/integration/embedding
Launching projects from GitHubhttps://developers.stackblitz.com/guides/integration/open-from-github
Creating projects with the SDKhttps://developers.stackblitz.com/guides/integration/create-with-sdk
Bug reproductionshttps://developers.stackblitz.com/guides/integration/bug-reproductions
Integrating with Storybookhttps://developers.stackblitz.com/guides/integration/storybook-addon
Integrating with Figmahttps://developers.stackblitz.com/guides/integration/figma-plugin
What is Codeflow?https://developers.stackblitz.com/codeflow/what-is-codeflow
Using pr.newhttps://developers.stackblitz.com/codeflow/using-pr-new
Working in Codeflow IDEhttps://developers.stackblitz.com/codeflow/working-in-codeflow-ide
Integrating CodeflowApp bothttps://developers.stackblitz.com/codeflow/integrating-codeflowapp-bot
Environment Variableshttps://developers.stackblitz.com/codeflow/environment-variables
Content updates with Web Publisherhttps://developers.stackblitz.com/codeflow/content-updates-with-web-publisher
Integrating Web Publisherhttps://developers.stackblitz.com/codeflow/integrating-web-publisher
Codeflow FAQhttps://developers.stackblitz.com/codeflow/codeflow-faq
What is StackBlitz Teamshttps://developers.stackblitz.com/teams/what-is-stackblitz-teams
Setting Up Your Teamhttps://developers.stackblitz.com/teams/setting-up-your-team
Collaboration and Access Controlhttps://developers.stackblitz.com/teams/collaboration-and-access-control
Pull Request Review Integrationhttps://developers.stackblitz.com/teams/pull-request-review-integration
Environment Variableshttps://developers.stackblitz.com/teams/environment-variables
Private NPM Registry Integrationhttps://developers.stackblitz.com/teams/private-npm-registry-integration
JavaScript SDKhttps://developers.stackblitz.com/platform/api/javascript-sdk
SDK overviewhttps://developers.stackblitz.com/platform/api/javascript-sdk
Options referencehttps://developers.stackblitz.com/platform/api/javascript-sdk-options
Controlling embedshttps://developers.stackblitz.com/platform/api/javascript-sdk-vm
Managing dependencieshttps://developers.stackblitz.com/platform/api/javascript-sdk-dependencies
POST APIhttps://developers.stackblitz.com/platform/api/post-api
WebContainer APIhttps://developers.stackblitz.com/platform/api/webcontainer-api
Roadmaphttps://developers.stackblitz.com/platform/webcontainers/roadmap
Browser supporthttps://developers.stackblitz.com/platform/webcontainers/browser-support
Browser configurationhttps://developers.stackblitz.com/platform/webcontainers/browser-config
Project configurationhttps://developers.stackblitz.com/platform/webcontainers/project-config
Turbo package managerhttps://developers.stackblitz.com/platform/webcontainers/turbo-package-manager
Troubleshootinghttps://developers.stackblitz.com/platform/webcontainers/troubleshooting-webcontainers
​https://developers.stackblitz.com/platform/api/javascript-sdk-dependencies#frontmatter-title
sdk.openProjecthttps://developers.stackblitz.com/platform/api/javascript-sdk#openproject
sdk.embedProjecthttps://developers.stackblitz.com/platform/api/javascript-sdk#embedproject
runtime environmenthttps://developers.stackblitz.com/guides/user-guide/available-environments
​https://developers.stackblitz.com/platform/api/javascript-sdk-dependencies#with-webcontainers
TypeScript demohttps://stackblitz.com/edit/sdk-webcontainers-dependencies-ts
JavaScript demohttps://stackblitz.com/edit/sdk-webcontainers-dependencies-js
​https://developers.stackblitz.com/platform/api/javascript-sdk-dependencies#with-engineblock
​https://developers.stackblitz.com/platform/api/javascript-sdk-dependencies#dependencies-plus-package-json
TypeScript demohttps://stackblitz.com/edit/sdk-angular-dependencies?file=project.ts
JavaScript demohttps://stackblitz.com/edit/sdk-angular-dependencies-js
​https://developers.stackblitz.com/platform/api/javascript-sdk-dependencies#inherited-dependencies
https://stackblitz.com/edit/angularhttps://stackblitz.com/edit/angular
Edit this pagehttps://pr.new/stackblitz/docs/edit/main/docs/platform/api/javascript-sdk-dependencies.md
Previous pageControlling embedshttps://developers.stackblitz.com/platform/api/javascript-sdk-vm
Next pagePOST APIhttps://developers.stackblitz.com/platform/api/post-api

Viewport: width=device-width,initial-scale=1


URLs of crawlers that visited me.