0.0.5 • Published 2 years ago
read-file-env v0.0.5
read-file-env
读取环境变量
# .env.local
VUE_APP_DIR=project/match
开始使用:
const { readEnv } = require('read-file-env');
const appDir = readEnv('VUE_APP_DIR', '.env.local');
console.log(appDir); // project/match