{"name":"libnpmconfig","version":"1.2.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":"7433db003ffd4a76f8791350a7bdc1ad69af51f2","_id":"libnpmconfig@1.2.1","_nodeVersion":"10.6.0","_npmVersion":"6.4.1","dist":{"integrity":"sha512-9esX8rTQAHqarx6qeZqmGQKBNZR5OIbl/Ayr0qQDy3oXja2iFVQQI81R6GZ2a02bSNZ9p3YOGX1O6HHCb1X7kA==","shasum":"c0c2f793a74e67d4825e5039e7a02a0044dfcbc0","tarball":"http://registry-npm.ywwl.com/libnpmconfig/download/libnpmconfig-1.2.1.tgz","fileCount":8,"unpackedSize":39274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6xXACRA9TVsSAnZWagAA/6YP/ijdZkm+V7d+cowK/iv9\n9LuSk9DISGtakTCZKXjuz0wLaYwkeZucRr6ZUNYAY5aaSHEvmxSpA2vmS8/4\n362C9OnLTwTKYn9Mwm1w4ZmFYl4ypQAbKYCnFMPREKMFLTiHGahBgfopMznp\nJSS3Sghn1dRcwwPeTTsaBv5o1VKTVyDNs98/4Qw3UWYnbsQ0E1hc46SSQmFw\nrPD6aHhIPqBLw1SM1pkYm/Y/NEgMI1RTmTWXpv9XmP9OjCseT6ZZ+Z9Ct23S\ngfWU9NRreVJNNyhalLZ31byWBQFIJmV2uqHz+o1C1aPY9pQ6bGBPg/VBDjiI\nKiDHvgWrFA+oq/dSZoVItPnnTuhQDhvuYgzFWIlXK/evWn0IKNQgzkDVQlPP\nDSNBI7QsEIpdhAC4jUDagslHhyTA1mvAamKQ41Q27LweRNVhdfDmcrV1jqsg\n8clGiMnVJTfRoe+tVzRvn9ra7BLV3expB5tTu7NV9zJ1+9GSACDE19YrAK7S\noRifa/VqYtQ3RODh0z96Cv0+IAdNEtwUaYaeK1ekrOERZkI9V1CVU9fiCHOW\nd1Hqi5z8WnXvzVyf0r5fRg0krGSetkhyfrlg/Bx4k6jTGTUJhcui7fsVEwn/\nfwFRWYXcaR2Ck7b+jWof8V+xqLQ4U9hnLbaE8Xr///77ZutpASG8hGtjBip8\nzK1o\r\n=bH5O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdaMzePQ+8U2MQCOTYtcXKpSf5RENp6cDIJgr74gOO8AiEAm42EkO9v/TjVUwWoVqJNe+ZZZc2pO3XDo2YmRaQnvdY="}],"size":14776,"noattachment":false,"key":"/libnpmconfig/-/libnpmconfig-1.2.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.2.1_1542133183810_0.5706121846624777"},"_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":1542133183980,"_cnpm_publish_time":1542133183980,"dist-tags":{"latest":"1.2.1"}}