![]() ![]() For example, you may want to provide your name, email-id, URL as author key's value. ![]() If you want to skip answering the questions and want to go with the default values, you can use the -y or -yes switch as shown in Figure 1, It contains all the project metadata and dependency information. The answers provided by you, along with the default values, creates a particular file called package.json. The npm init command asks you a bunch of questions. The npm init or yarn init command helps set up a new or existing package/project. Every day, millions of web applications use npm or yarn to create and manage project dependencies.Īs web developers, we make use of npm or yarn to get started with a project. ![]() Do you agree, it is almost impossible to think about web app development without the support of npm(node package manager) or yarn? Alright, I'm probably exaggerating here, but the truth is somewhat close to it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |