🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

install-package

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

install-package

Install node modules from JavaScript.

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
83
-33.06%
Maintainers
1
Weekly downloads
 
Created
Source

install-package test

Install node modules from JavaScript.

Install

npm install install-package

Usage

import install from 'install-package';

install('co', '--save').then(result => {
  console.log(result.stdout);
  console.log(result.stderr);
});

API

install(packages, [args], [options])

packages

Type: String, Array<String>

args

Type: String, Array<String>, Object

options

Type: Object

License

MIT © Shogo Sensui

Keywords

npm

FAQs

Package last updated on 02 May 2021

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