{"name":"enpeem","version":"0.1.0","description":"Lightweight wrapper for accessing npm programmatically (alternative to adding `npm` as a dependency)","main":"index.js","scripts":{"test":"mocha -t 5000"},"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":{"sails-util":"~0.10.0","stream-reduce":"1.0.1"},"devDependencies":{"fs-extra":"~0.8.1"},"_id":"enpeem@0.1.0","dist":{"shasum":"5dd6b3a7187f43359b33e358d68736ffb58ec758","tarball":"http://registry-npm.ywwl.com/enpeem/download/enpeem-0.1.0.tgz","integrity":"sha512-rElBSJRwh/RZI8sJLWFWzC0sdEBrOFClzEZSCMnVeR6wjLt+NN+O6Vha2TP9fw6gx9j2MPn3VIMcOJtk4Gx1xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFC0c44pHPA8nu1f5W2kag+8K98pe2JRv+UbmOrVI9oWAiA8TnpItqN7sXQMPqttJGBeu4AVCfeK8rr2Br9r5UeLSg=="}],"size":3302,"noattachment":false,"key":"/enpeem/-/enpeem-0.1.0.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":1387161924848,"_cnpm_publish_time":1387161924848,"dist-tags":{"latest":"2.2.0"}}