@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
RegistryThe answers a package registers, one per name. Ex: Generators.register('nanoid', nanoid).
RegistryError
TermA 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
ReplacedWhat a reload replaced — told to whoever reloaded, since this package holds no logger.
Built with Fougere and Nuxt, hosted on GitHub Pages.