source: frontend/node_modules/dotenv-expand/README.md

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 1.2 KB
Line 
1# dotenv-expand
2
3<img src="https://raw.githubusercontent.com/motdotla/dotenv-expand/master/dotenv-expand.png" alt="dotenv-expand" align="right" />
4
5Dotenv-expand adds variable expansion on top of
6[dotenv](http://github.com/motdotla/dotenv). If you find yourself needing to
7expand environment variables already existing on your machine, then
8dotenv-expand is your tool.
9
10[![BuildStatus](https://img.shields.io/travis/motdotla/dotenv-expand/master.svg?style=flat-square)](https://travis-ci.org/motdotla/dotenv-expand)
11[![NPM version](https://img.shields.io/npm/v/dotenv-expand.svg?style=flat-square)](https://www.npmjs.com/package/dotenv-expand)
12[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
13
14## Install
15
16```bash
17npm install dotenv --save
18npm install dotenv-expand --save
19```
20
21## Usage
22
23As early as possible in your application, require dotenv and dotenv-expand, and
24wrap dotenv-expand around dotenv.
25
26```js
27var dotenv = require('dotenv')
28var dotenvExpand = require('dotenv-expand')
29
30var myEnv = dotenv.config()
31dotenvExpand(myEnv)
32```
33
34See [test/.env](./test/.env) for examples of variable expansion in your `.env`
35file.
36
Note: See TracBrowser for help on using the repository browser.