Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 ⚡️
- Host: GitHub
- URL: https://github.com/siddharthkp/auto-install
- Owner: siddharthkp
- License: mit
- Created: 2016-08-07T13:34:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-17T11:55:23.000Z (over 3 years ago)
- Last Synced: 2024-11-30T08:05:37.289Z (12 days ago)
- Language: JavaScript
- Homepage:
- Size: 654 KB
- Stars: 1,198
- Watchers: 15
- Forks: 71
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
- awesome-nodejs-cn - auto-install - 编写代码时自动安装依赖 (包 / 命令行程序)
- awesome-github-star - auto-install
- awesome-nodejs - auto-install - Auto installs dependencies as you code. (Packages / Command-line apps)
- awesome-nodejs - auto-install - Install dependencies as you code - ★ 958 (Command-line apps)
- awesome-node - auto-install - Auto installs dependencies as you code. (Packages / Command-line apps)
- awesome-nodejs-cn - auto-install - 在编码时自动安装依赖项. (目录 / 命令行应用)
- awesome-nodejs - auto-install - 在编码时自动安装依赖 (Uncategorized / Uncategorized)
- awesome-nodejs-cn - auto-install - **star:1198** 在编写代码时自动安装依赖项 (包 / 命令行程序)
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)