# npm-install-modules

> install npm modules (dependencies and devDependencies) programmactically via child_process.exec

Latest version **0.1.3** (published 2015-08-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install npm-install-modules
pnpm add npm-install-modules
yarn add npm-install-modules
bun add npm-install-modules
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2015-08-03 |
| First published | 2015-08-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Keith Williams |
| Maintainers | akileez |
| Keywords | npm, child, process, exec, install, dependencies, devDependencies, modules |

## Links

- npm: https://www.npmjs.com/package/npm-install-modules
- Repository: https://github.com/akileez/npm-install-modules
- Issues: https://github.com/akileez/npm-install-modules/issues
- npm.io page: https://npm.io/package/npm-install-modules

## Dependencies (1)

- [colorz](https://npm.io/package/colorz.md) ^0.1.4

## Recent versions

- 0.1.3 (latest) — 2015-08-03

## README

# npm-install-modules
[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][downloads-url]
[![experimental][stability-image]][stability-url]
[![ISC license][license-img]][license-url]

> Install npm modules (dependencies and devDependencies) programmatically. 

Still quite raw as an individual module. Needs more testing in the wild (production use)
to flesh out use-case development. Comments/PR's welcomed.

## Installation
```bash
$ npm install npm-install-modules
```

## Usage
```js
var installModules = require('npm-install-modules')

var opts {
  dependencies: ["mout", "clockin", "colorz"],
  devDependencies: ["tape", "mocha"]
}

installModules(opts, function () {
  // do something here
})
```

results in package.json...

```json
 "dependencies": {
    "clockin": "^0.1.1",
    "colorz": "^0.1.4",
    "mout": "^0.11.0"
  },
  "devDependencies": {
    "mocha": "^2.2.5",
    "tape": "^4.0.1"
  },
```


## Why?
Building a scaffolder. Extracted this module from [npinit](https://npmjs.org/package/npinit). Figured
it would be useful as a stand-alone. 

## See Also
-

## License
[ISC](https://github.com/akileez/npm-install-modules/blob/master/LICENSE)

[npm-image]: https://img.shields.io/npm/v/npm-install-modules.svg?style=flat-square
[npm-url]: https://npmjs.org/package/npm-install-modules
[downloads-image]: http://img.shields.io/npm/dm/npm-install-modules.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/npm-install-modules
[stability-image]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
[stability-url]: https://github.com/akileez/npm-install-modules
[license-img]: https://img.shields.io/badge/license-ISC-blue.svg?style=flat-square
[license-url]: https://github.com/akileez/npm-install-modules/blob/master/license.md

---
_Source: https://npm.io/package/npm-install-modules · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
