{"name":"libnpmconfig","version":"1.0.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","ini":"^1.3.5"},"gitHead":"717b1c2cfcab479df716e5b52d03ad1a857c9664","_id":"libnpmconfig@1.0.0","_nodeVersion":"10.6.0","_npmVersion":"6.4.1","dist":{"integrity":"sha512-r0dGC4l6MfemUnIrch035s/T5znfqoqNrq2mfXkVRhcPrvbIxQzUmBWrVXdLgZbbnHJOc9qdZXYEYuTzZcbi4Q==","shasum":"280d2469a9bd0e146e4461e7147b0f7554df7535","tarball":"http://registry-npm.ywwl.com/libnpmconfig/download/libnpmconfig-1.0.0.tgz","fileCount":8,"unpackedSize":37169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3yvZCRA9TVsSAnZWagAABR0P/0kCwLBSCuIh7VkrnogM\nHp3juGSlsr+bn6TK7q8nV50SxfWijET1CFkfJ4JA1PrJ+ge9MzuOvIaalRx7\nTpnV4CLR7f7/gZG8fn9NNldBJrWXHhBx//t37hpCoVvo4avZ6d1Xssmcf8M3\nKTWxmDOf66lvlaxwaKiu4bTA0AiXS6KKlzbFB3a51r498emiHuOFMzk05BYI\nZMI0qg33yz8jRsNyXkenlnCF56gtxEvGx9ysLRCaeG04cpU5fAZB7EKe5LP/\nxT1TccFgGAPr2X/A/KH9Z2Fmr7qZG8WzaOnTOhn1hDCVDJMitQv9wvAEp1s4\nOf6cttlYONt5374WAcv2+CoUeHHXwOSUNYy+7uD4QM5gnPGP+Hz92JO2azN2\n55SVImBmQPVuDQT+bdmjE4ToqeWTyBYChyeVkqDyJm/a3qr5v1o3Fo4h3FAW\nltBxeUovsXbHa+B5WhCN/j6G5zwGv9rnf+o++yIzp5io4muGYQwmmQK9ZBvK\nyMn14Jw/o2NXJ+0HvoS1P4/C+KAgxMnf89YhStq+IsNHG9/W1StVlomO2L2u\nw/8sdUdBLCptWKjayPWckkgkOM9eUGhtp7s2r/aiEEc1oh97nP17is1kOVDg\np1MbNH9wkrJ9i10jI47YjxccZj8652WJi3GCD2JoGyslbGEobq9gKrbc4G1y\nbcPd\r\n=5Skv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF+mvhCnw3R3J0rhXCvklbUcNKEQqD1nNQGy4rZ9rNlsAiBeSjukGKGoS0Musxg1IntVrHJ1P5oejDx21HtpGnAMdg=="}],"size":14162,"noattachment":false,"key":"/libnpmconfig/-/libnpmconfig-1.0.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.0.0_1541352409078_0.2581451064178504"},"_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":1541352409176,"_cnpm_publish_time":1541352409176,"dist-tags":{"latest":"1.2.1"}}