12/27/2022 0 Comments Npm save dependencies to package.json"scripts": ,Īs you can see in the above snapshot, the Git remote origin URL I added to the project is recorded to the generated package.json file along with other metadata information. Save it as a dependency in the package.json file.Ībout to write to /Users/nsebhastian/npm-init-test/package.json: Use `npm install ` afterwards to install a package and See `npm help init ` for definitive documentation on these fields For more details you can read npm docs from here. npm i youtube-api command is meaning npm install youtube-api. And when you exec npm install command, npm will download this module automatically. It only covers the most common items, and tries to guess sensible defaults. When you execute npm install modulename -save command, npm will add modulename to your node app's dependencies like as your said. This utility will walk you through creating a package.json file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |