Monday 29 April 2019

How does NPM create package.json files, filled out?

If you’ve ever used npm init, you’ve probably noticed that it fills out the information from the console questionnaire. I’m wondering, how it does this, and if there is any source code available, to tinker with?I’m trying to do something similar, where a user answers a few questions, and it automatically creates certain files, based off of a template I’ve put together, and any help would be awesome.

Submitted April 29, 2019 at 07:41PM by WebDevLikeNoOther

No comments:

Post a Comment