{"name":"@pnpm/normalize-registries","description":"Accepts a mapping of registry URLs and returns a mapping with the same URLs but normalized","version":"6.0.3","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.0.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.3"},"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.3","_integrity":"sha512-/1Z5H56DKkwJ7mhafjvQf1guLsE+Oa/CEQx5K0qqIx4NdV7OJ2TJLm2uT6tMpfYkCnkQN9K6ZviY4lTxNGLJGg==","_resolved":"/tmp/c8bca5926f0a562178615eded4aefa4f/pnpm-normalize-registries-6.0.3.tgz","_from":"file:pnpm-normalize-registries-6.0.3.tgz","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-/1Z5H56DKkwJ7mhafjvQf1guLsE+Oa/CEQx5K0qqIx4NdV7OJ2TJLm2uT6tMpfYkCnkQN9K6ZviY4lTxNGLJGg==","shasum":"ba9310c494c2296020cee8233c70d0e31f79c344","tarball":"http://registry-npm.ywwl.com/@pnpm/normalize-registries/download/@pnpm/normalize-registries-6.0.3.tgz","fileCount":6,"unpackedSize":4224,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhm/HOMKL1/0ibTcJJO6ZpFt9IPNBQoSbMJUPdswWW/AiEAhi89UsnRqc47J1EGAOm26l1h5aiX0q7Y3NxEiiOoiow="}],"size":2171,"noattachment":false,"key":"/@pnpm/normalize-registries/-/@pnpm/normalize-registries-6.0.3.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/normalize-registries_6.0.3_1720101903047_0.5601469335159381"},"_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":1720101903188,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1720101903188,"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"}}