{"name":"enpeem","version":"0.1.1","description":"Lightweight wrapper for accessing npm programmatically (alternative to adding `npm` as a dependency)","main":"index.js","scripts":{"test":"mocha -t 15000"},"repository":{"type":"git","url":"git://github.com/mikermcneil/enpeem.git"},"keywords":["npm","npm-install","npm","install","dependency","offline","cache"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/enpeem/issues"},"homepage":"https://github.com/mikermcneil/enpeem","dependencies":{"stream-reduce":"1.0.1"},"devDependencies":{"fs-extra":"~0.8.1"},"_id":"enpeem@0.1.1","dist":{"shasum":"ad9848b98890c1684ef13c738cf6a9c5d6b77026","tarball":"http://registry-npm.ywwl.com/enpeem/download/enpeem-0.1.1.tgz","integrity":"sha512-kRKfNb8Nt7KPHGhjTofdwVRipTNQyrbz+XIfsFMcHAuJPlj2OUs8NJtRlEFvXmtZQX5INQ+Cei7N0oW3Qx2BGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIJT7x/LF2vpdy4MJnKXC6hkLoiG1Ws+O8EUp+sWFyRAiEAgx5BCznWCiIaz8UO3ZWr7zyFpPtrsHNtXMKQaG5x8TA="}],"size":3354,"noattachment":false,"key":"/enpeem/-/enpeem-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"balderdashy","email":"mike@balderdash.co"},"maintainers":[{"name":"balderdashy","email":"mike@balderdash.co"}],"directories":{},"readme":"enpeem\n======\n[![Build Status](https://travis-ci.org/balderdashy/enpeem.svg?branch=master)](https://travis-ci.org/balderdashy/enpeem) [![npm version](https://badge.fury.io/js/enpeem.svg)](https://npmjs.org/package/enpeem)\n\nLightweight wrapper for accessing npm programmatically (alternative to adding `npm` as a dependency)\n\n`require('npm')` seems like a good idea, but it adds tons of weight to your module, since it takes a long time to install.  Why not use the `npm` your users already have?\n\n\n> NOTE:\n> re: `cache-min`, see: https://github.com/isaacs/npm/issues/2568#issuecomment-30626394\n> re: `loglevel`, see: https://github.com/isaacs/npm/pull/4320\n\n\n\n## Usage\n\n```shell\n$ npm install enpeem --save\n```\n\n```javascript\nvar npm = require('enpeem');\n```\n\n\n#### npm install\n\n```javascript\nnpm.install({\n  dir: '/code/my-sweet-node-app',\n  dependencies: [\n    'sails@0.10.1',\n    'sails-disk@git://github.com/balderdashy/sails-disk.git#associations',\n    'lodash'\n  ]\n  loglevel: 'silent',\n  'cache-min': 999999999\n}, function (err) { /* ... */ });\n```\n\n> ##### The `dir` option\n>\n> The `dir` option controls where the NPM package will be installed as a dependency. If `dir` is unspecified, it defaults to the current working directory. If `dir` is a relative path, it will be resolved relative to the current working directory.\n>\n\n#### npm update\n\n```javascript\nnpm.update({\n  loglevel: 'silent'\n}, function (err) { /* ... */ });\n```\n\n\n","publish_time":1390186591074,"_cnpm_publish_time":1390186591074,"dist-tags":{"latest":"2.2.0"}}