1nstall

0.4.0 • Public • Published

1nstall

npm

Install a package as if it was the only package.

Why?

Does installing a new dependency take a lot of time when you have a lot of node_modules already installed?

How?

It installs the dependency it in a temporary location then it moves* it to your project, along with .bins, and updated your package.json.

Usage

npm install -g 1nstall
one jquery
# or
one npm --saveDev jquery

Caveats

  • It's only beneficial when the installing package is actually smaller (dependencies included) than your project. Which usually is the case.

  • It only updates package.json not package-lock.json file.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i 1nstall

    Weekly Downloads

    9

    Version

    0.4.0

    License

    none

    Unpacked Size

    10.9 kB

    Total Files

    6

    Last publish

    Collaborators

    • laggingreflex