This package has been deprecated

Author message:

Package moved to @neato/config, see https://neatojs.com/docs/config for more info

neat-config
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

neat-config

Load complex configuration from many sources on runtime with type-safety.

Visit documentation here: https://mrjvs.github.io/neat-config/

Features

  • Strictly typed OR loosly typed configurations.
  • Complex object configuration.
  • Load (partial) configuration from many inputs:
    • From files: .json, .env.
    • From environment variables.
    • From directory structure (used for i.e docker secrets).
    • From CLI arguments.
  • Validate from a Zod or joi schema.

Install

npm install neat-config

Documentation

Visit documentation here: https://mrjvs.github.io/neat-config/

Readme

Keywords

Package Sidebar

Install

npm i neat-config

Weekly Downloads

74

Version

3.0.0

License

MIT

Unpacked Size

49.5 kB

Total Files

49

Last publish

Collaborators

  • mrjvs