{"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,"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","publish_time":1784821231842,"_cnpm_publish_time":1784821231842,"dist-tags":{"latest":"1100.0.1"}}