{"name":"@pnpm/normalize-registries","description":"Accepts a mapping of registry URLs and returns a mapping with the same URLs but normalized","version":"6.0.4","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"main":"lib/index.js","types":"lib/index.d.ts","keywords":["pnpm9"],"license":"MIT","engines":{"node":">=18.12"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/config/normalize-registries"},"dependencies":{"normalize-registry-url":"2.0.0","ramda":"npm:@pnpm/ramda@0.28.1","@pnpm/types":"11.1.0"},"homepage":"https://github.com/pnpm/pnpm/blob/main/config/normalize-registries#readme","funding":"https://opencollective.com/pnpm","devDependencies":{"@types/ramda":"0.29.12","@pnpm/normalize-registries":"6.0.4"},"exports":{".":"./lib/index.js"},"scripts":{"test":"pnpm run compile","lint":"eslint \"src/**/*.ts\"","compile":"tsc --build && pnpm run lint --fix"},"_id":"@pnpm/normalize-registries@6.0.4","_integrity":"sha512-qYBQakPTG9nix1lyvwCyBtwcjTlwWn8Ye3pJbfRdsDytCt7naJL/kEP1eFjLAl1WZiAtvBJbrSaOFQNWuQtEmQ==","_resolved":"/tmp/285289149f00234c0e0988590fd1d99f/pnpm-normalize-registries-6.0.4.tgz","_from":"file:pnpm-normalize-registries-6.0.4.tgz","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-qYBQakPTG9nix1lyvwCyBtwcjTlwWn8Ye3pJbfRdsDytCt7naJL/kEP1eFjLAl1WZiAtvBJbrSaOFQNWuQtEmQ==","shasum":"a810384015793c4523a5259f83fcd64ca99d181f","tarball":"http://registry-npm.ywwl.com/@pnpm/normalize-registries/download/@pnpm/normalize-registries-6.0.4.tgz","fileCount":6,"unpackedSize":4224,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+s/20qhAonyZI3XWVThkMOTQV0RGylDNe+0qPYQGJawIgDit1HV4ho3ZfWPeYiwNv9acCrKKuTk3E9Fgv5IaMGfY="}],"size":2172,"noattachment":false,"key":"/@pnpm/normalize-registries/-/@pnpm/normalize-registries-6.0.4.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/normalize-registries_6.0.4_1721605930373_0.35092625102402564"},"_hasShrinkwrap":false,"readme":"# @pnpm/normalize-registries\n\n> Accepts a mapping of registry URLs and returns a mapping with the same URLs but normalized\n\n## Installation\n\n```\npnpm add @pnpm/normalize-registries\n```\n\n## Usage\n\n```typescript\nimport normalizeRegistries from '@pnpm/normalize-registries'\n\nnormalizeRegistries({\n  'default': 'https://registry.npmjs.org',\n  '@foo': 'https://example.com',\n})\n// will return the same object but the URLs will end with a /\n```\n\n## License\n\n[MIT](LICENSE)\n","publish_time":1721605930520,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1721605930520,"dist-tags":{"latest":"1000.1.9","latest-10":"1000.1.10","latest-6":"2.0.14","next":"1.0.0","pnpm-temp":"1.0.3"}}