@fougere/registry
Fougere's registry: one answer per name, refused when a second one arrives, and a reload that says it replaces. Zero dependencies.
Entries: @fougere/registry
What you import
| name | |
|---|---|
Registry | The answers a package registers, one per name. Ex: Generators.register('nanoid', nanoid). |
RegistryError | |
Term | A name and its answer, exported from a vocabulary/ file. Ex: export const slug = StringFormats.term('slug', …). |
Types
TypeScript types only — they do not run. Import them with import type to type your own code: a variable, a parameter, an option object.
| name | |
|---|---|
Replaced | What a reload replaced — told to whoever reloaded, since this package holds no logger. |