Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siddharthkp/auto-install

Install dependencies as you code ⚡️
https://github.com/siddharthkp/auto-install

Last synced: 5 days ago
JSON representation

Install dependencies as you code ⚡️

Awesome Lists containing this project

README

        

#### auto-install

[![Build
Status](https://api.travis-ci.org/siddharthkp/auto-install.svg?branch=master)](https://travis-ci.org/siddharthkp/auto-install)
[![npm](https://img.shields.io/npm/v/auto-install.svg?maxAge=3600)](https://www.npmjs.com/package/auto-install)
[![npm](https://img.shields.io/npm/dt/auto-install.svg?maxAge=3600)](https://www.npmjs.com/package/auto-install)

Auto installs dependencies as you code. Just hit save.

![Auto installs dependencies as you code](https://raw.githubusercontent.com/siddharthkp/auto-install/master/demo.gif)

Featured in [npm weekly #56](https://medium.com/npm-inc/npm-weekly-56-npm-on-javascript-air-the-cli-team-changes-cadence-and-easier-dependency-f7e4cc24d053)!

#### Install

`npm install -g auto-install`

#### Usage

Run `auto-install` in the directory you are working in.

Modules in `.spec.js` and `.test.js` are added to `devDependencies`

#### Options

`--secure` Install popular modules only (> 10k downloads in the last month)

`--exact` Install exact version similar to `npm install express --save-exact`

`--dont-uninstall` Do not uninstall unused modules

`--yarn` Use [yarn](https://yarnpkg.com) instead of npm

#### Show your support

:star: this repo

#### FAQ

[Does it protect against typosquatting?](https://github.com/siddharthkp/auto-install/issues/6)

[Hackernews post](https://news.ycombinator.com/item?id=12248997)

#### License

MIT © [siddharthkp](https://github.com/siddharthkp)

#### Sponsor

[![Sponsor](https://app.codesponsor.io/embed/LhLT2c31ydJzdLUuSR9f8mCA/siddharthkp/auto-install.svg)](https://app.codesponsor.io/link/LhLT2c31ydJzdLUuSR9f8mCA/siddharthkp/auto-install)