npack

5.0.0 • Public • Published

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

Package Sidebar

Install

npm i npack

Weekly Downloads

13

Version

5.0.0

License

MIT

Unpacked Size

54.5 kB

Total Files

14

Last publish

Collaborators

  • 2do2go
  • okv