@cipdev/nodejs-helper
v1.0.15
Published
### Install
Downloads
3
Readme
nodejs_helper
Install
npm i @cipdev/nodejs-helper
Override console.log, console.warn, console.info
const {logger} = require('@cipdev/nodejs-helper');
logger.overrideLog();
console.log('Hello');
//Output:
//Hello index.js:3:9
Load .env file
const {env} = require('@cipdev/nodejs-helper');
env.loadEnvFile('.env');
const db_user = env.get("DB_USER")