{"name":"@pnpm/npm-conf","version":"2.2.2","description":"Get the npm config","license":"MIT","repository":{"type":"git","url":"git+https://github.com/pnpm/npm-conf.git"},"engines":{"node":">=12"},"keywords":["conf","config","global","npm","path","prefix","rc"],"dependencies":{"@pnpm/config.env-replace":"^1.1.0","@pnpm/network.ca-file":"^1.0.1","config-chain":"^1.1.11"},"devDependencies":{"@types/node":"^14.0.14","babel-generator":"^6.24.1","babel-traverse":"^6.24.1","babylon":"^6.17.1","eslint-import-resolver-node":"^0.3.2","jest":"^25.1.0","npm":"^5.0.4","typescript":"^3.9.6"},"scripts":{"__prepublishOnly":"node lib/make.js && tsc -p lib/tsconfig.make-out.json","test":"jest"},"bugs":{"url":"https://github.com/pnpm/npm-conf/issues"},"homepage":"https://github.com/pnpm/npm-conf#readme","_id":"@pnpm/npm-conf@2.2.2","_integrity":"sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==","_resolved":"/private/var/folders/g7/5ygp0ncd6qx5g4fn5hpsqq5c0000gn/T/dcd8f03992a07f135d35182fa2c7ba77/pnpm-npm-conf-2.2.2.tgz","_from":"file:pnpm-npm-conf-2.2.2.tgz","_nodeVersion":"16.20.0","_npmVersion":"9.7.1","dist":{"integrity":"sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==","shasum":"0058baf1c26cbb63a828f0193795401684ac86f0","tarball":"http://registry-npm.ywwl.com/@pnpm/npm-conf/download/@pnpm/npm-conf-2.2.2.tgz","fileCount":13,"unpackedSize":28324,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCURZXvvaQP4k8YOE2RegNBLKkAv1h8BhXGzF1FFGh8NAIgewAqf9r+8EuUNVehEGmptH6sbUjX4A2kRo4QehXgTAY="}],"size":8658,"noattachment":false,"key":"/@pnpm/npm-conf/-/@pnpm/npm-conf-2.2.2.tgz"},"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-conf_2.2.2_1686715685891_0.009070413246651698"},"_hasShrinkwrap":false,"readme":"# @pnpm/npm-conf [![Build Status](https://travis-ci.com/pnpm/npm-conf.svg?branch=master)](https://travis-ci.com/pnpm/npm-conf)\n\n> Get the npm config\n\n\n## Install\n\n```\n$ pnpm add @pnpm/npm-conf\n```\n\n\n## Usage\n\n```js\nconst npmConf = require('@pnpm/npm-conf');\n\nconst conf = npmConf();\n\nconf.get('prefix')\n//=> //=> /Users/unicorn/.npm-packages\n\nconf.get('registry')\n//=> https://registry.npmjs.org/\n```\n\nTo get a list of all available `npm` config options:\n\n```bash\n$ npm config list --long\n```\n\n\n## API\n\n### npmConf()\n\nReturns the `npm` config.\n\n### npmConf.defaults\n\nReturns the default `npm` config.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","publish_time":1686715686108,"_cnpm_publish_time":1686715686108,"dist-tags":{"latest":"3.0.3"}}