Socket
Book a DemoInstallSign in
Socket

adddep

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adddep

CLI for adding deps to a npm module.

1.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

adddep

CLI for adding deps to a npm module. Based on npm-add.

Install

Install globally

$ npm install adddep -g

Adding modules

Add the latest verison of an npm package

$ adddep jade

Then install

$ npm install

Add multiple packages

$ adddep jade socket.io

Specify version

Prefix @ in order to force a version, otherwise the latest version is used. When specifying a version, mind the v prefixing the semver expression.

$ adddep @jadev0.30.0
$ adddep '@jadev0.30.0' '@socket.iov0.30.0'

Both

$ addep express '@socket.iov0.9.14'

Add and install

$ adddep express stylus async --install

or

$ adddep express stylus async -i

Removing modules

$ adddep -express -stylus

Mixed usage

$ adddep -express @jadev0.30.0

Bumping a module version

adddep provides a function which allows bumping the module version.

$ adddep -b 1.0.0

The expressions will automatically be expanded: 1 - 1.0.0; 1.1 - 1.1.0.

Keywords

npm-add

FAQs

Package last updated on 03 Jul 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.