Difference between revisions of "Node Package Manager (npm)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(44 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Draft}}
+
[[wikipedia:npm (software)]] ([[2010]]) is a [[package manager]] for [[JavaScript]]
[[wikipedia:npm (software)]]
+
* https://github.com/npm
 
+
* Installation: <code>[[brew install npm]]</code>
  
 +
== Commands ==
 +
* <code>[[npm help]]</code>
 +
* <code>[[npm --version]]</code>
 +
* <code>[[npm -v]]</code>
 +
* <code>[[npm exec]]</code>
 
* <code>[[npm run]]</code>
 
* <code>[[npm run]]</code>
 +
* <code>[[npm run build]]</code>
 +
* <code>[[npm run-script]]</code>
 +
* <code>[[npm test]]</code>
 +
* <code>[[npm start]]</code>
 
* <code>[[npm init]]</code>
 
* <code>[[npm init]]</code>
 
* <code>[[npm audit]]</code> (See also: [[Software Composition Analysis (SCA)]])
 
* <code>[[npm audit]]</code> (See also: [[Software Composition Analysis (SCA)]])
* <code>[[npm install]] --save express</code> (Express is a minimalist web framework for <code>Node.js</code>)
+
* <code>[[npm install]] --save express</code> (Express is a minimalist web framework for <code>[[Node.js]]</code>)
 
* <code>npm install ejs --save</code> ([[EJS]] is a templating language)
 
* <code>npm install ejs --save</code> ([[EJS]] is a templating language)
 
* <code>npm install body-parser --save</code>
 
* <code>npm install body-parser --save</code>
 +
* <code>[[npm ci]]</code><ref>https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable</ref>
 +
* <code>[[npm update]]</code>
 +
* <code>[[npm link]]</code>
 +
* <code>[[npm list]]</code>
 +
* <code>[[npm login]]</code>
 +
 +
[[npm cache clean]] --force
 +
[[npm publish]]
 +
 +
* [[JFrog Artifactory 6.10]] May 6, 2019 <ref>https://www.jfrog.com/confluence/display/RTF/Release+Notes#ReleaseNotes-Artifactory6.10</ref> supports <code>[[npm audit]]</code>
  
  
 +
* Installation: <code>[[apt install npm]]</code>
  
* [[GitLab]]
+
== Packages ==
* [[JFrog Artifactory 6.10]] May 6, 2019 <ref>https://www.jfrog.com/confluence/display/RTF/Release+Notes#ReleaseNotes-Artifactory6.10</ref> supports <code>[[npm audit]]</code>
+
* <code>[[set-value]]</code>
 +
 
 +
== Related  ==
 +
* <code>[[sequelize-transparent-cache]]</code>
 +
* <code>[[yarn]]</code>
 +
* <code>[[.npmrc]]</code>
 +
* <code>[[nvm]]</code>
 +
* <code>[[pnpm]]</code>
  
 
== See also ==
 
== See also ==
 
* {{npm}}
 
* {{npm}}
* {{js}}
+
* {{npm errors}}
 +
* {{Node.js}}
 
* {{package managers}}
 
* {{package managers}}
  
 
[[Category:JavaScript]]
 
[[Category:JavaScript]]
 
[[Category:Package managers]]
 
[[Category:Package managers]]

Latest revision as of 15:48, 18 February 2024

wikipedia:npm (software) (2010) is a package manager for JavaScript

Commands[edit]

npm cache clean --force
npm publish


Packages[edit]

Related[edit]

See also[edit]

  • https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable
  • https://www.jfrog.com/confluence/display/RTF/Release+Notes#ReleaseNotes-Artifactory6.10
  • Advertising: