Socket
Socket
Sign inDemoInstall

makeconf

Package Overview
Dependencies
102
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    makeconf

An interactive local config generator.


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

makeconf

NPM version

REQUIRES Node v4.0.0!

An interactive local config generator that makes it easy to collaboratively maintain configuration files.

makeconf

makeconf can be conveniently invoked from within the postinstall script in your project's package.json file, prompting your buddies to review and update their local config upon running npm install.

Setup

$ npm install -g makeconf

or

$ npm install makeconf --save-dev

and run node_modules/makeconf/bin/makeconf locally.

Usage

Create a makeconf.json file in your project directory:

Available types: .env, module.exports

{
  "type": ".env",
  "file": ".env",
  "config": {
    "S3_ACCESS_KEY": {
      "description": "Your Amazon S3 access key"
    },
    "DEBUG": {
      "description": "Enable debug mode",
      "default": false,
      "required": true
    },
    "DATABASE": {
      "description": "Database driver",
      "required": true
    }
  }
}

In your project directory, run:

$ makeconf

License

MIT © Eric Nishio

Keywords

FAQs

Last updated on 16 Sep 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc