AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.