@ex-machina/facets package exports its core functions for programmatic use. Everything the CLI can do is available as a library.
Installation
Import
Subsystems
The library is organized into three subsystems:| Subsystem | Purpose | Key exports |
|---|---|---|
| Registry | Load manifests, read/write config files, validate schemas | loadManifest, FacetManifestSchema, readFacetsYaml |
| Discovery | List, cache, update, and clear facets | listFacets, cacheFacet, updateFacet, clearCache |
| Installation | Install and uninstall facet resources | installFacet, uninstallFacet |