@kitsy/cnos
v1.10.0
Published
Batteries-included CNOS runtime package wired with the official plugins.
Readme
@kitsy/cnos
Developer-friendly CNOS runtime assembly. It bundles the core engine plus the official built-in plugins, exposes the default singleton runtime at @kitsy/cnos, and provides explicit creation/configuration helpers under @kitsy/cnos/configure.
Current runtime surface includes:
@kitsy/cnossingleton withcnos(key)andready()@kitsy/cnos/configurewithcreateCnos()@kitsy/cnos/browserfor promotedpublic.*reads in browser code@kitsy/cnos/buildwithresolveBrowserData()read,require,readOrvalue,secret,metainspecttoObject,toNamespacetoEnv,toPublicEnv
CLI-oriented storage/export rules to be aware of:
- user-defined values and secrets remain private by default
- public/browser exposure comes from
public.promote - shell env export comes from explicit
envMapping.explicit - local secret material lives outside the repo in encrypted vault storage under
~/.cnos/secrets
Use @kitsy/cnos-vite for Vite projects, @kitsy/cnos-next for Next.js projects, and @kitsy/cnos-webpack for webpack/static bundles when you want CNOS public values projected into framework-native env surfaces and embedded for @kitsy/cnos/browser.
