{"name":"libnpmconfig","version":"1.1.1","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":"d71ed010993b3961daa1120cedceeb1c37ac1021","_id":"libnpmconfig@1.1.1","_nodeVersion":"10.6.0","_npmVersion":"6.4.1","dist":{"integrity":"sha512-V8l/f7HJ/tUyC91qq1qKIhzBbzt/XA+Jy8B/eIAVBl7FzTshtgUVky3m84zhhfULtXm/enyI2SPis3gn3csKGA==","shasum":"95c99e941a06ec66529815e93b047167a9360dd2","tarball":"http://registry-npm.ywwl.com/libnpmconfig/download/libnpmconfig-1.1.1.tgz","fileCount":8,"unpackedSize":38378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb30OsCRA9TVsSAnZWagAAsLoP/jgVDVTCxRirKIAAxhl3\n88mAGM7+dYsghpK+x2oH2jhWIb3+VejsI55pEhGMYHGBm5/R1o80Y+Fhyqn9\nNlCMKu9CF+uSoU/G9XZcSklG98/8iGFdwwtbVusPq18LcRMtjavEvkPn/Yqd\nXs4CsxorHabH7h8ZhjnUqb2hty7PCX2XGN2Uq6yO43HedFH48XDg+iHN7i3/\npVLVMSb5AW9tW8kjmgnFyOdWy4nbj0K2znbZG+qvrRUhmIWvKwrLTpYB3keE\nfFFdaPzNe8uOjxLfdQ3Zr4zaE9GpY7wXbrxDKTirsxCcprVaO47f75Jcfqcw\nWjIc6Iv3FDqQc91bOEcNrW+llq0Dsn7qqfVZf/wP4aFOcMd2yidYQ0A5vtXt\nmvseDFr+QdXMtas+MpZKlulG9PJwQrIjGp3MEd93l6oeLPzs7mGlyOyscasg\n8mqw6aW1/3AyJk6OHSMmbJtmao/VLeSvI4WL88wWPmzwMitY7vg2FqxdYAfq\nUFUO0BwqREahfvC3jP6QS7TWSonc47s1rDk/vF060VRRBsiIgKLFEAXVUImV\nWW1lhNWzlP8E/b6wO9juG3yzCta0M30E1/i5pyCG6iOjuRoKUYJSxYRx17TD\n4CUckgJB95EszjlQgvevFAmDm46JvdB4GmA2LP2zkHjfEBLZpMzD5z/VNmez\nYnF+\r\n=IolY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVDUJhCGe5upEFGVe0RZKC5VnfJ2cqHBcShGsZ5rRCMwIgA1OTaTKahQ+DJha2IPjGDbhHWKVGcXvfMEMQaeWU00k="}],"size":14578,"noattachment":false,"key":"/libnpmconfig/-/libnpmconfig-1.1.1.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.1.1_1541358508252_0.03610554696174506"},"_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":1541358508367,"_cnpm_publish_time":1541358508367,"dist-tags":{"latest":"1.2.1"}}