Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm

Package Overview
Dependencies
Maintainers
1
Versions
555
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm

A package manager for node

  • 1.3.26
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.7M
increased by12.23%
Maintainers
1
Weekly downloads
 
Created

What is npm?

The npm package 'npm' is the package manager for Node.js. It allows users to install, update, and manage dependencies for Node.js applications. It also provides tools for package discovery, publishing, and managing a local development environment.

What are npm's main functionalities?

Package Installation

Installs the 'express' package and its dependencies into the node_modules directory.

npm install express

Package Update

Updates the 'lodash' package to the latest version according to the versioning in package.json.

npm update lodash

Package Removal

Removes the 'moment' package from the node_modules directory and updates the package.json.

npm uninstall moment

Listing Installed Packages

Lists the top-level packages installed in the node_modules directory.

npm list --depth=0

Running Scripts

Runs the 'test' script specified in the package.json file.

npm run test

Publishing a Package

Publishes the current package to the npm registry, making it available for others to install.

npm publish

Other packages similar to npm

Keywords

FAQs

Package last updated on 03 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc