Socket
Socket
Sign inDemoInstall

1nstall

Package Overview
Dependencies
24
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    1nstall

Install a package as if it was the only package


Version published
Weekly downloads
15
increased by150%
Maintainers
1
Install size
0.993 MB
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 21 Feb 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc