inxilpro / node-checkenv

Check your current environmental variables against a project config file
46 stars 6 forks source link

Typedefs #14

Open ferm10n opened 2 years ago

ferm10n commented 2 years ago

Any chance we could get a types declaration file? Couldn't find a @types/checkenv, but it'd be awesome if there was a way to use this package in typescript!

EDIT: my bad, I just realized I have to write a configuration file, so having intellisense on just a check(boolean) wouldn't make a whole lot of sense.

ferm10n commented 2 years ago

it would be helpful if the validations could be provided when calling .check() instead of putting them in .env.json. then typedefs would be a useful addition again!