Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const task: TaskFn = (absPath) => {
const env = new EnvFile(absPath)
env.set('PORT', '3333')
env.set('HOST', '0.0.0.0')
env.set('NODE_ENV', 'development')
env.set('APP_KEY', randomstring.generate(32))
env.commit()
logger.create('.env, .env.example')
}