{"name":"@pnpm/config.normalize-registries","version":"1101.0.1","description":"Accepts a mapping of registry URLs and returns a mapping with the same URLs but normalized","keywords":["pnpm","pnpm11"],"license":"MIT","funding":"https://opencollective.com/pnpm","repository":{"type":"git","url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/config/normalize-registries"},"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/config/normalize-registries#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"dependencies":{"@pnpm/constants":"1102.0.0","@pnpm/types":"1102.1.0","normalize-registry-url":"2.0.1","ramda":"npm:@pnpm/ramda@0.28.1"},"devDependencies":{"@jest/globals":"30.4.1","@pnpm/config.normalize-registries":"1101.0.1","@types/ramda":"0.32.0"},"engines":{"node":">=22.13"},"jest":{"preset":"@pnpm/jest-config"},"scripts":{"test":"pn compile && pn .test","lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","compile":"tsgo --build && pn lint --fix",".test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"},"_id":"@pnpm/config.normalize-registries@1101.0.1","dist":{"integrity":"sha512-jYlmPztJyh/Qrc1ZJigb2iOYIC6TQQkWxOd4OER2SyfpbhG8h61UbbJBUm4lAVd9K7/HNHoSV2Ppm7/a1OHpCg==","shasum":"2cd4dbd2e937abb7ede549e9fb1cf3d1518ce976","tarball":"http://registry-npm.ywwl.com/@pnpm/config.normalize-registries/download/@pnpm/config.normalize-registries-1101.0.1.tgz","fileCount":6,"unpackedSize":31710,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2fconfig.normalize-registries@1101.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICVjACM0xrqvMA2DtMxnmPR+TY7+MJZT4EfFimV87E1MAiAkTMX0kR+TN8gij+eC+Rp/Ga/lO4aKdMlPjjMQrVlfhA=="}],"size":9126,"noattachment":false,"key":"/@pnpm/config.normalize-registries/-/@pnpm/config.normalize-registries-1101.0.1.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/config.normalize-registries_1101.0.1_1788012215423_0.15911747242474417"},"_hasShrinkwrap":false,"readme":"# @pnpm/config.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/config.normalize-registries\n```\n\n## Usage\n\n```typescript\nimport normalizeRegistries from '@pnpm/config.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":1788012215566,"_cnpm_publish_time":1788012215566,"dist-tags":{"latest":"1101.0.5"}}