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

1.1.8 • Public • Published

Yenv

nest badge Build Status npm (scoped)

  • This module is aiming to be a more powerful version of standard dotenv

  • This modules takes some things from nodejs ts-dotenv module

  • You can see examples in ./examples folder

Node specific bug

  • if you know why it happens tell me or make a pr
  • values will be optional by default instead of required. To workaround this you need to set it explicitly like this:
const env = await load({
  token: {
    type: String,
    optional: false, // <---
  },
});

Readme

Keywords

Package Sidebar

Install

npm i yuienv

Weekly Downloads

34

Version

1.1.8

License

Apache License 2.0

Unpacked Size

44.9 kB

Total Files

35

Last publish

Collaborators

  • yaikawa