3.0.4 • Published 4 years ago

bestow-config v3.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

bestow-config

Get your configuration "json" file by just passing filename

Structure

ProjectName
      node_modules
      config
           uat.json
           dev.json
      other files
      package.json

How to Run

    npm install bestow-config --save
    
    const bestow = require("bestow-config");
    
    const jsonData = bestow("uat")

How to Use

  • Create config folder in root of your project.
  • Create json config files with json as extension like eg: uat.json, dev.json, prod.json and then put all your json content into it.
  • Now calling bestow("environment_file_name") will give you all json content of that file.

Author: Yogendra Saxena

3.0.4

4 years ago

3.0.0

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago