1.0.0 • Published 8 years ago

oseti v1.0.0

Weekly downloads
12
License
ISC
Repository
github
Last release
8 years ago

oseti

oseti is configuraton your program with NODE_ENV.

Install

# with npm
npm install oseti

# or with yarn
yarn add oseti

Usage

We will load the file first.

const oseti = require("oseti");
oseti.load();

Next, specify the configuration key of the config file.

Make config.yml as follows.

staging:
  api_base_url: https://staging.example.com
production:
  api_base_url: https://api.example.com

To get the value using key we write:

oseti.get("api_base_url");

Auther

konojunya

1.0.0

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago