Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

12g-env-template

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

12g-env-template

Create a .env template / example file based on a local .env

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

12g-env-template

Greenkeeper badge

This package creates a template file based on your local .env file. It will empty out all values, but it will leave comments and newlines in.

Greenkeeper badge

Usage

Install the dependency:

$ npm install --save 12g-env-template

Then require it in your code:

var template = require('12g-env-template');

Then create a template file:

template.create()

Or with options:

template.create('.env.production', '.env.example')

Methods

.create([input file], [output file])

By default, it will take .env as input and use .env.template as output.

.exists()

Returns whether the template file already exists.

Keywords

env

FAQs

Package last updated on 30 May 2017

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