mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-12 10:11:42 -04:00
docs: clarify default catalog protocol behavior (#11381)
This commit is contained in:
committed by
Zoltan Kochan
parent
16f5cd302a
commit
3fd440bc7f
@@ -1,3 +1,10 @@
|
||||
# @pnpm/catalogs.protocol-parser
|
||||
|
||||
> Parse catalog protocol specifiers and return the catalog name.
|
||||
|
||||
Catalog 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.
|
||||
|
||||
## Examples
|
||||
|
||||
- `catalog:foo` -> `"foo"`
|
||||
- `catalog:` -> `"default"`
|
||||
|
||||
Reference in New Issue
Block a user