We look at the package.json file in a bit more detail. We then add some author information with the 'author' field in that file.
Link to challenge : https://www.freecodecamp.org/learn/ap...
Written Guide :
https://www.notion.so/ganeshh123/How-...
Full Playlist for this course : • Managing Packages with npm - freeCode...
All Writen Guides for this course : https://www.notion.so/ganeshh123/4d5e...
All My Tutorials can be found at : https://www.notion.so/Tutorials-Ganes...
Concepts:
author
The “author” is one person. “contributors” is an array of people. A “person” is an object with a “name” field and optionally “url” and “email”, like this:
https://docs.npmjs.com/files/package....
npm
npm is a package manager for the JavaScript programming language. It is the default package manager for the JavaScript runtime environment Node.js. It consists of a command line client, also called npm, and an online database of public and paid-for private packages, called the npm registry.
https://www.npmjs.com/
package.json
All npm packages contain a file, usually in the project root, called package.json - this file holds various metadata relevant to the project. This file is used to give information to npm that allows it to identify the project as well as handle the project's dependencies. It can also contain other metadata such as a project description, the version of the project in a particular distribution, license information, even configuration data - all of which can be vital to both npm and to the end users of the package. The package.json file is normally located at the root directory of a Node.js project.
https://nodejs.org/en/knowledge/getti...
node_modules
Packages are dropped into the node_modules folder under the prefix. When installing locally, this means that you can require("packagename") to load its main module, or require("packagename/lib/path/to/sub/module") to load other modules.
https://docs.npmjs.com/configuring-np...
————————————————————————————————————
The Node Package Manager (npm) is a command-line tool used by developers to share and control modules (or packages) of JavaScript code written for use with Node.js.
freeCodeCamp (also referred to as “Free Code Camp”) is a non-profit organization that consists of an interactive learning web platform, an online community forum, chat rooms, online publications and local organizations that intend to make learning web development accessible to anyone. Beginning with tutorials that introduce students to HTML, CSS and JavaScript, students progress to project assignments that they complete either alone or in pairs. Upon completion of all project tasks, students are partnered with other nonprofits to build web applications, giving the students practical development experience.
Thanks for Watching!
Смотрите видео 01 - How to Use package.json, the core of Node - Managing Packages with npm - freeCodeCamp Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ganesh H 02 Июль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,668 раз и оно понравилось 43 людям.