{"_id":"@pnpm/catalogs.protocol-parser","_rev":"1481207","name":"@pnpm/catalogs.protocol-parser","description":"Parse catalog protocol specifiers and return the catalog name.","dist-tags":{"latest":"1100.0.1"},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"time":{"modified":"2026-09-18T22:27:03.000Z","created":"2024-06-27T13:16:50.823Z","1100.0.1":"2026-07-23T15:40:31.842Z","1100.0.0":"2026-04-10T16:36:43.089Z","1001.0.0":"2025-04-21T08:22:43.205Z","1000.0.0":"2024-11-29T11:26:28.350Z","900.0.0":"2024-11-28T15:41:10.051Z","0.1.0":"2024-06-27T13:16:50.823Z"},"users":{},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/catalogs/protocol-parser"},"versions":{"1100.0.1":{"name":"@pnpm/catalogs.protocol-parser","version":"1100.0.1","description":"Parse catalog protocol specifiers and return the catalog name.","keywords":["pnpm","pnpm11","types"],"license":"MIT","funding":"https://opencollective.com/pnpm","repository":{"type":"git","url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/catalogs/protocol-parser"},"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/catalogs/protocol-parser#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"devDependencies":{"@jest/globals":"30.4.1","@pnpm/catalogs.protocol-parser":"1100.0.1"},"engines":{"node":">=22.13"},"jest":{"preset":"@pnpm/jest-config"},"scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","compile":"tsgo --build && pn lint --fix","test":"pn compile && pn .test",".test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"},"_id":"@pnpm/catalogs.protocol-parser@1100.0.1","dist":{"integrity":"sha512-82j4rrUAE/zDgaw5xgR1jj3AGTtoxUY7KKEwel4AUGiJpPUcdtCGGUUbOyMCQebgSlSaZZE/hNTbkqACNIepgA==","shasum":"6a856a69e5b378b02c5b262955d1b610ca835b07","tarball":"http://registry-npm.ywwl.com/@pnpm/catalogs.protocol-parser/download/@pnpm/catalogs.protocol-parser-1100.0.1.tgz","fileCount":8,"unpackedSize":4095,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2fcatalogs.protocol-parser@1100.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF/9++5a1eVb3kk4pN0qKIF2lB+xP5CSlYnfqDUu6fgzAiBky8+9aW2QmSNM/sexFBgo/Zx911njpGLBBfE4mczmeA=="}],"size":2122,"noattachment":false,"key":"/@pnpm/catalogs.protocol-parser/-/@pnpm/catalogs.protocol-parser-1100.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/catalogs.protocol-parser_1100.0.1_1784821231711_0.7358980937105026"},"_hasShrinkwrap":false,"publish_time":1784821231842,"_cnpm_publish_time":1784821231842},"1100.0.0":{"name":"@pnpm/catalogs.protocol-parser","version":"1100.0.0","keywords":["pnpm","pnpm11","types"],"license":"MIT","_id":"@pnpm/catalogs.protocol-parser@1100.0.0","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/tree/main/catalogs/protocol-parser#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"c065c9ec36b80c8a4e6baff65a7e623b36d1bc6e","tarball":"http://registry-npm.ywwl.com/@pnpm/catalogs.protocol-parser/download/@pnpm/catalogs.protocol-parser-1100.0.0.tgz","fileCount":7,"integrity":"sha512-PZ5dC9QBdsZVxIOdk3sgZkLurCzv7Jx5PGmk8xsBFLYljC8qIgSblayxz+1BReIICmDgGhKQffth55u8tH6qUA==","signatures":[{"sig":"MEUCIQCGu6eNsvsiOr3w0QOTUNUjs/rO4s7blsdORbM8lTypsgIgX9V2ajISs6tH8bO51reISGOgzezN2ggeS5jCgCrCU+M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2fcatalogs.protocol-parser@1100.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3503,"size":1841,"noattachment":false,"key":"/@pnpm/catalogs.protocol-parser/-/@pnpm/catalogs.protocol-parser-1100.0.0.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.13"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pn compile && pn .test",".test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest","compile":"tsgo --build && pn lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"repository":"https://github.com/pnpm/pnpm/tree/main/catalogs/protocol-parser","description":"Parse catalog protocol specifiers and return the catalog name.","directories":{},"_nodeVersion":"25.6.1","_hasShrinkwrap":false,"devDependencies":{"@pnpm/catalogs.protocol-parser":"1100.0.0"},"_npmOperationalInternal":{"tmp":"tmp/catalogs.protocol-parser_1100.0.0_1775839002950_0.7451993203785205","host":"s3://npm-registry-packages-npm-production"},"publish_time":1775839003089,"_cnpm_publish_time":1775839003089},"1001.0.0":{"name":"@pnpm/catalogs.protocol-parser","version":"1001.0.0","keywords":["pnpm","pnpm10","types"],"license":"MIT","_id":"@pnpm/catalogs.protocol-parser@1001.0.0","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/blob/main/catalogs/protocol-parser#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"028f3d12b3164bc034e0b7d2d9fd9d96bc6c2318","tarball":"http://registry-npm.ywwl.com/@pnpm/catalogs.protocol-parser/download/@pnpm/catalogs.protocol-parser-1001.0.0.tgz","fileCount":9,"integrity":"sha512-9rHKCMRvhfv7TSAVSCVLI+8OZhi1OcT8lanAGqOPbGgQTkFrPH3PfEWJNxz43xqrXRa4HCFRAMu+g19su5eRLA==","signatures":[{"sig":"MEYCIQCNtMyGwxZDyNhmxNLJCG/GKZphixtoeILbDvgpP+jKlAIhALQdDvBLCwgS3v76GMj50pswyHa1iMmgQbeRwtpQOHHf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4415,"size":2229,"noattachment":false,"key":"/@pnpm/catalogs.protocol-parser/-/@pnpm/catalogs.protocol-parser-1001.0.0.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","_from":"file:pnpm-catalogs.protocol-parser-1001.0.0.tgz","types":"lib/index.d.ts","engines":{"node":">=18.12"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pnpm run compile && pnpm run _test","_test":"jest","compile":"tsc --build && pnpm run lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"_resolved":"/tmp/0b56de4199af97bc0d06624a5c18cb9a/pnpm-catalogs.protocol-parser-1001.0.0.tgz","_integrity":"sha512-9rHKCMRvhfv7TSAVSCVLI+8OZhi1OcT8lanAGqOPbGgQTkFrPH3PfEWJNxz43xqrXRa4HCFRAMu+g19su5eRLA==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/catalogs/protocol-parser","type":"git"},"_npmVersion":"10.8.2","description":"Parse catalog protocol specifiers and return the catalog name.","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"devDependencies":{"@pnpm/catalogs.protocol-parser":"1001.0.0"},"_npmOperationalInternal":{"tmp":"tmp/catalogs.protocol-parser_1001.0.0_1745223762986_0.2347963410323861","host":"s3://npm-registry-packages-npm-production"},"publish_time":1745223763205,"_cnpm_publish_time":1745223763205},"1000.0.0":{"name":"@pnpm/catalogs.protocol-parser","version":"1000.0.0","description":"Parse catalog protocol specifiers and return the catalog name.","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=18.12"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/catalogs/protocol-parser"},"keywords":["pnpm10","pnpm","types"],"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/main/catalogs/protocol-parser#readme","funding":"https://opencollective.com/pnpm","exports":{".":"./lib/index.js"},"devDependencies":{"@pnpm/catalogs.protocol-parser":"1000.0.0"},"jest":{"preset":"@pnpm/jest-config"},"scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","compile":"tsc --build && pnpm run lint --fix","test":"pnpm run compile && pnpm run _test","_test":"jest"},"_id":"@pnpm/catalogs.protocol-parser@1000.0.0","_integrity":"sha512-8eC25RAiu8BTaEseQmbo5xemlSwl06pMsUVORiYGX7JZEDb0UQVXOnbqFFJMPe/dyO8uwGXnDb350nauMzaraA==","_resolved":"/tmp/83a31138d8809b50bb4f99c4c8e69016/pnpm-catalogs.protocol-parser-1000.0.0.tgz","_from":"file:pnpm-catalogs.protocol-parser-1000.0.0.tgz","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-8eC25RAiu8BTaEseQmbo5xemlSwl06pMsUVORiYGX7JZEDb0UQVXOnbqFFJMPe/dyO8uwGXnDb350nauMzaraA==","shasum":"9ac72e2deb622280d5ca3e5222dbde475b7c8403","tarball":"http://registry-npm.ywwl.com/@pnpm/catalogs.protocol-parser/download/@pnpm/catalogs.protocol-parser-1000.0.0.tgz","fileCount":9,"unpackedSize":4378,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA2ply2qZq6sb8Jo6NV9hIKGzh9pVNw/m6qzsOSDv5FAIgWNmU9UlIFjnEBqMvv9xAJAEriik86qae7bP4W+iyD9o="}],"size":2220,"noattachment":false,"key":"/@pnpm/catalogs.protocol-parser/-/@pnpm/catalogs.protocol-parser-1000.0.0.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/catalogs.protocol-parser_1000.0.0_1732879588181_0.8191933875200801"},"_hasShrinkwrap":false,"publish_time":1732879588350,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1732879588350},"900.0.0":{"name":"@pnpm/catalogs.protocol-parser","version":"900.0.0","keywords":["pnpm9","pnpm","types"],"license":"MIT","_id":"@pnpm/catalogs.protocol-parser@900.0.0","homepage":"https://github.com/pnpm/pnpm/blob/main/catalogs/protocol-parser#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"65e202dae7a41376357980fb3d4817a3bc27c5af","tarball":"http://registry-npm.ywwl.com/@pnpm/catalogs.protocol-parser/download/@pnpm/catalogs.protocol-parser-900.0.0.tgz","fileCount":9,"integrity":"sha512-212bfJVGDyy05eyh9Oa9h4uBBjVF+gQVAU6XTg6XWZzJ3AdCe6nPCBENYj36v2Eu4EkTJnhCQqISgy9c0sYVHw==","signatures":[{"sig":"MEQCIGsQyvc2U31x9SFKQFfbrIz4vf2OJzdOOXeI6cTrHax5AiA0VsSe7tghXzJtkkqBadO0E75JZPQa9bQN6M2FM+JSZw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4375,"size":2220,"noattachment":false,"key":"/@pnpm/catalogs.protocol-parser/-/@pnpm/catalogs.protocol-parser-900.0.0.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","_from":"file:pnpm-catalogs.protocol-parser-900.0.0.tgz","types":"lib/index.d.ts","engines":{"node":">=18.12"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pnpm run compile && pnpm run _test","_test":"jest","compile":"tsc --build && pnpm run lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"_resolved":"/tmp/e56ab9b63f61d483429870602526f41f/pnpm-catalogs.protocol-parser-900.0.0.tgz","_integrity":"sha512-212bfJVGDyy05eyh9Oa9h4uBBjVF+gQVAU6XTg6XWZzJ3AdCe6nPCBENYj36v2Eu4EkTJnhCQqISgy9c0sYVHw==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/catalogs/protocol-parser","type":"git"},"_npmVersion":"10.8.2","description":"Parse catalog protocol specifiers and return the catalog name.","directories":{},"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"@pnpm/catalogs.protocol-parser":"900.0.0"},"_npmOperationalInternal":{"tmp":"tmp/catalogs.protocol-parser_900.0.0_1732808469840_0.5307445339206149","host":"s3://npm-registry-packages"},"publish_time":1732808470051,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1732808470051},"0.1.0":{"name":"@pnpm/catalogs.protocol-parser","version":"0.1.0","description":"Parse catalog protocol specifiers and return the catalog name.","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=18.12"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/catalogs/protocol-parser"},"keywords":["pnpm9","pnpm","types"],"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/main/catalogs/protocol-parser#readme","funding":"https://opencollective.com/pnpm","exports":{".":"./lib/index.js"},"devDependencies":{"@pnpm/catalogs.protocol-parser":"0.1.0"},"scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","compile":"tsc --build && pnpm run lint --fix","test":"pnpm run compile && pnpm run _test","_test":"jest"},"_id":"@pnpm/catalogs.protocol-parser@0.1.0","_integrity":"sha512-T3WvT+IBHsoDwv8RBQo3b+SBnXTQMpHZ1Yo7tJWcImBzrkuc4eP7KYB/yGP240PNgyrvCTrnuImRX9MNZD5flg==","_resolved":"/tmp/5b3e4465929229a42b9d2fe1d25d5485/pnpm-catalogs.protocol-parser-0.1.0.tgz","_from":"file:pnpm-catalogs.protocol-parser-0.1.0.tgz","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-T3WvT+IBHsoDwv8RBQo3b+SBnXTQMpHZ1Yo7tJWcImBzrkuc4eP7KYB/yGP240PNgyrvCTrnuImRX9MNZD5flg==","shasum":"e2deb2a01c51e0c1a938228974769dbef042b577","tarball":"http://registry-npm.ywwl.com/@pnpm/catalogs.protocol-parser/download/@pnpm/catalogs.protocol-parser-0.1.0.tgz","fileCount":9,"unpackedSize":4359,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICSOl/T3CZYD8kLnOTQMdguTAU5scSWZurucB+wPC3rDAiB0CXnkz6VydPp6hyMF6gXN7riIsQ6N6JYUQyJzsSq6yg=="}],"size":2174,"noattachment":false,"key":"/@pnpm/catalogs.protocol-parser/-/@pnpm/catalogs.protocol-parser-0.1.0.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/catalogs.protocol-parser_0.1.0_1719494210679_0.32341452074360433"},"_hasShrinkwrap":false,"publish_time":1719494210823,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1719494210823}},"readme":"# @pnpm/catalogs.protocol-parser\n\n> Parse catalog protocol specifiers and return the catalog name.\n\nCatalog protocol specifiers start with `catalog:`. The parser reads the value after that prefix as the catalog name, and returns `default` when no name is provided.\n\n## Examples\n\n- `catalog:foo` -> `\"foo\"`\n- `catalog:` -> `\"default\"`\n","_attachments":{},"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/catalogs/protocol-parser#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"license":"MIT"}