envmate

1.0.2 • Public • Published

envmate

envalid + dotenv + cli prompts = <3

const envmate, { port, email } = require("envmate");

const env = envmate({
  PORT: port(),
  EMAIL: email({ default: "admin@example.com" }),
});

It will use variables from .env or environment. If some are missing it will ask prompt for missing variables and save them into .env.

Readme

Keywords

none

Package Sidebar

Install

npm i envmate

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

2.73 kB

Total Files

5

Last publish

Collaborators

  • finnpauls