{"name":"libnpmconfig","version":"1.2.0","description":"Standalone library for reading/writing/managing npm configurations","author":{"name":"Kat Marchán","email":"kzm@zkat.tech"},"license":"ISC","scripts":{"prerelease":"npm t","release":"standard-version -s","postrelease":"npm publish && git push --follow-tags","pretest":"standard","test":"tap -J --100 test/*.js","update-coc":"weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'","update-contrib":"weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'"},"devDependencies":{"weallbehave":"*","weallcontribute":"*","standard":"*","standard-version":"*","tap":"*"},"repository":{"type":"git","url":"git+https://github.com/npm/libnpmconfig.git"},"bugs":{"url":"https://github.com/npm/libnpmconfig/issues"},"homepage":"https://npmjs.com/package/libnpmconfig","dependencies":{"figgy-pudding":"^3.5.1","find-up":"^3.0.0","ini":"^1.3.5"},"gitHead":"81244550346ef0c8083ac15ee6047fa45aee7b5e","_id":"libnpmconfig@1.2.0","_nodeVersion":"10.6.0","_npmVersion":"6.4.1","dist":{"integrity":"sha512-YOLP7toodl17beKCjj75txHqzVXqMbOqkuThFcATIyFFTtAnfkLihAkL1OYjgjxyZAM/RJIQI8ziAL4+F4RTTw==","shasum":"46db8315417eadced9faf256fc8a1ef52c73b852","tarball":"http://registry-npm.ywwl.com/libnpmconfig/download/libnpmconfig-1.2.0.tgz","fileCount":8,"unpackedSize":39038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6wyACRA9TVsSAnZWagAAGk4QAJst7SG2gpbhho3+IAYV\nE8utp6nFJP3CYaZr67n8SDHHWQRS1ZBk+HhDYCyPzR37f5KRR1z2n1ANvfkx\nauByAmfUvx70p1vYnxIch3/7rhBMlj3CcIyaZb0qH+k3OlJh7sdpVmLUxq0X\nj97w/WhvsMOupz/lsD1zySr8lRVrUKJMo1HRp7laMftjmhOey0ZVsSxfMDtc\ntDMnW2SeSrbTespx7TTfMaia+fPjKR52Kw33zfJx1bUPPWZQBY4yiCzsOS5y\nAyE6AdBc8uxTw74EOeEJQ6qQWA9Ji89H6EQd39SDmLDQNsXVYPxHGqtI2TdP\nQYnPKOJleYZsgpMrypbsLBJCZ+kpUsDIeOTLgi4kV0rUah9mTB17ysoC20p+\nTRK050Xy9fHWkJEr6jrGlJa3TpAv0uR1XB3UXUi29sPGzKsD2yYl5gtSmNtC\nacN2TBHqkERYC/M0oOJ4ft0yP+fYRmPXpLmM1G8gUTdnLIrkyWhJuHr5IIdM\nI1/zuDGssI6RpYC+5WDM9wJLF0LrMypE6z+Kp7CBSvnixQziUmsOGMNxtQtK\nCLidoxozhMU4L3lU14yawZPZQgPKXkh9tUOg+Mv4KN32D2UOD2ALLzCwu4UV\nHXfu8bjXLuzMtAdyOE0fBXpJVPvZkXQT0+2tuz53FJnQZM2DA3PbKQfVnQXI\nlBBq\r\n=RmiR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtGGiYgNDdsJfcEyPsj6LeYtfnm3nryNt28C3rjg7RwwIgXNmHOjV7D9B2/CvLeI8XYXl2ekNiAo3OatEVIcrCfDE="}],"size":14731,"noattachment":false,"key":"/libnpmconfig/-/libnpmconfig-1.2.0.tgz"},"maintainers":[{"name":"zkat","email":"npm@zkat.tech"}],"_npmUser":{"name":"zkat","email":"npm@zkat.tech"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/libnpmconfig_1.2.0_1542130815857_0.5501744684163177"},"_hasShrinkwrap":false,"deprecated":"This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config","readme":"# libnpmconfig [![npm version](https://img.shields.io/npm/v/libnpmconfig.svg)](https://npm.im/libnpmconfig) [![license](https://img.shields.io/npm/l/libnpmconfig.svg)](https://npm.im/libnpmconfig) [![Travis](https://img.shields.io/travis/npm/libnpmconfig.svg)](https://travis-ci.org/npm/libnpmconfig) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/zkat/libnpmconfig?svg=true)](https://ci.appveyor.com/project/zkat/libnpmconfig) [![Coverage Status](https://coveralls.io/repos/github/npm/libnpmconfig/badge.svg?branch=latest)](https://coveralls.io/github/npm/libnpmconfig?branch=latest)\n\n[`libnpmconfig`](https://github.com/npm/libnpmconfig) is a Node.js library for\nprogrammatically managing npm's configuration files and data.\n\n## Example\n\n```js\nconst config = require('libnpmconfig')\n\nconsole.log('configured registry:', config.read({\n  registry: 'https://default.registry/'\n}))\n// => configured registry: https://registry.npmjs.org\n```\n\n## Install\n\n`$ npm install libnpmconfig`\n\n## Table of Contents\n\n* [Example](#example)\n* [Install](#install)\n* [API](#api)\n\n### API\n\n##### <a name=\"read\"></a> `> read(cliOpts, builtinOpts)`\n\nReads configurations from the filesystem and the env and returns a\n[`figgy-pudding`](https://npm.im/figgy-pudding) object with the configuration\nvalues.\n\nIf `cliOpts` is provided, it will be merged with the returned config pudding,\nshadowing any read values. These are intended as CLI-provided options. Do your\nown `process.argv` parsing, though.\n\nIf `builtinOpts.cwd` is provided, it will be used instead of `process.cwd()` as\nthe starting point for config searching.\n","publish_time":1542130815945,"_cnpm_publish_time":1542130815945,"dist-tags":{"latest":"1.2.1"}}