xenviro
v1.0.1
Published
a modern,easy to learn,environment variables reader, written in TypeScript.
Downloads
2
Readme
Xenviro
next generation of environment variables
Usage
write a .env file or any name else:
MESSAGE="Hello World!!"
width Ecmascript modules:
import xenviro from 'xenviro';
const reader = new xenviro({});
reader.readFile();
console.log(process.env.YOUR_VARIABLE);
width commonJS modules:
const xenviro = require('xenv');
const reader = new xenviro({});
reader.readFile();
console.log(process.env.YOUR_VARIABLE);