Catalog npm
PACKAGE EXPLORERView in registry

12g-env-template

npm

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

12factorconfigurationdotenvenvtemplate
Versions collected7
Direct dependencies2From release 1.0.6
Last observed20 Oct, 18:12 UTC

README

Current package documentation

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 7

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.6Registry latest30 May 20172
1.0.529 May 20172
1.0.429 May 20172
1.0.326 May 20170
1.0.224 May 20170
1.0.124 May 20170
1.0.024 May 20170

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
grrr-amsterdam/12g-env-template

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:12 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ea70a84c5cb3dfc97f1e427e36122b3885ee7e6c8e6ef6e5a7b373476ef94f5b