New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

auto-requirements

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-requirements

Autoreq is a command line utility that allows to parse js files in current directory to find used packages and install them or uninstall unused ones.

  • 1.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by80%
Maintainers
1
Weekly downloads
 
Created
Source

auto-requirements

NPM version

Autoreq is a command line utility that allows to parse js files in current directory to find used packages and install them or uninstall unused ones.

It will ignore js files in node_modules folder.

auto-requirements self execution example

Install

You can install it by npm:

npm install -g auto-requirements

Usage

To scan current directory and installing all found packages and uninstall unused dependencies execute this in command line:

autoreq --install --uninstall

Aliases:

  • autoreq
  • a_r
  • auto_requirements

Params

--install

Execute all install commands from summary table. By default without this param it will not execute all install commands.

Install variations:

  • autoreq --install
  • autoreq -i

--uninstall

Execute all uninstall commands from summary table. By default without this param it will not execute all uninstall commands.

Uninstall variations:

  • autoreq --uninstall
  • autoreq -u

--save, --no-save

Use --save/--no-save flag in npm install commands. By default it will save all packages that isn't in package (and --save-dev for devDependencies).

Variations for no-save:

  • autoreq --save=0
  • autoreq --no-save
  • autoreq --no_save

Variations for save:

  • autoreq --save=1
  • autoreq --save

Keywords

FAQs

Package last updated on 30 May 2018

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc