1.1.8 • Published 1 year ago

yuienv v1.1.8

Weekly downloads
-
License
Apache License 2....
Repository
-
Last release
1 year ago

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, // <---
  },
});
1.1.8

1 year ago

1.1.7

1 year ago