🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

npack

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npack

Node.js packages manipulation scripts

latest
Source
npmnpm
Version
5.0.0
Version published
Weekly downloads
16
23.08%
Maintainers
2
Weekly downloads
 
Created
Source

npack

Build Status

npack - node.js packages manipulation tool. It provides few methods to install new package, fast switch between package versions, clean installed package.

Installation

$ npm install -g npack

alternatively you could install it locally

Usage

You should create npm tarball package first with a command npm pack.

Install package

Go to some directory and run:

$ npack install <path_to_npm_tarball_package>

Package will be installed and will be set as current.

Switch package

You can switch between installed packages with command:

$ npack use <package_name>

Show list and package info

In directory where you previously installed package run:

$ npack list

To show detailed info about package run:

$ npack info <package_name>

Uninstall package

To uninstall installed package run:

$ npack uninstall <package_name>

Execute "npm run" task from current package

To execute npm script with optional agruments run:

$ npack run <script_name>
$ npack run <script_name> arg_1 arg_2
$ npack run <script_name> -- arg_1 --with flag

License

MIT

Keywords

package

FAQs

Package last updated on 06 Jul 2020

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