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: developer.stackblitz.com

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

Links:

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

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


URLs of crawlers that visited me.