1.0.6 • Published 7 years ago

12g-env-template v1.0.6

Weekly downloads
57
License
MIT
Repository
github
Last release
7 years ago

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.

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago