where to install a npm package for worker application? where is the command ?

where to install a npm package for worker application? where is the command ?
1 Reply
James
James4w ago
You will need to run wrangler locally, and then manage your app like you would any other JS/TS project - using package.json and a package manager. npm is the most common. If you're not familiar, I'd recommend running through the getting started guide: https://developers.cloudflare.com/workers/get-started/guide/
Cloudflare Docs
Get started - CLI · Cloudflare Workers docs
Set up and deploy your first Worker with Wrangler, the Cloudflare Developer Platform CLI.

Did you find this page helpful?