JS Party: JavaScript, CSS, Web Development cover image

Making "safe npm"

JS Party: JavaScript, CSS, Web Development

00:00

How to Write a Wrapper Script That Will Invoke NPM in Dry Run Mode

NPM has a dry run mode built by default, but it doesn't provide enough information for you to have a good user experience. So we wrote a wrapper script that rips out a piece of npm and replaces it with our dry run wrapper. This was actually fairly pleasant to write compared to some other ecosystems or package managers. It's very lucky that node is still writing common JS.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app