Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
Biktop committed Jul 28, 2018
1 parent 4972588 commit efbd7f6
Show file tree
Hide file tree
Showing 8 changed files with 2,630 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"presets": [
[
"env",
{
"targets": {
"node": "8.10"
}
}
]
]
}
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ typings/

# next.js build output
.next

# Lib
lib
33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
# dotenv-generator
# dotenv-generator

## Install

As simple as:

```bash
npm install @b1kt0p/dotenv-generator
```

or

```bash
yarn add @b1kt0p/dotenv-generator
```

## Requirements

@b1kt0p/dotenv-generator has been built to work by default from **Node >= 8.10**.

If you need to run it in earlier versions of Node (eg. 4.3) then you will have to
*transpile* dotenv-generator's code yourself using [babel](https://babeljs.io/) or a similar tool.

## Usage

```bash
dotenv-generator --source template.env
```

## License

MIT © Victor Savostin
3 changes: 3 additions & 0 deletions examples/template.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Parameters
PARAM1=test
PARAM2={/test/PARAM2}
Loading

0 comments on commit efbd7f6

Please sign in to comment.