You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

dotenv-prompt

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv-prompt

A nodejs module for creating .env file

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

dotenv-prompt

Read envs from console input and save to .env file.

Usage

var dotenv = require('dotenv-prompt');
dotenv.create(['PORT', 'HOST'], function(error) {
  
});

API

create(data, options, callback)

Prompt envs and save to .env file.

get(data, options, callback)

Prompt envs.

save(data)

Save envs to .env file.

Keywords

dotenv

FAQs

Package last updated on 30 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts