Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

  • 1.0.4
  • Source
  • npm
  • Socket score

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

FAQs

Package last updated on 29 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc