Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
IonicaBizau committed Dec 6, 2017
1 parent d1d3b6b commit eaf1856
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ npm i --save obj2env


```js
import { item, toArray, toFile } from "obj2env"
var { item, toArray, toFile } = require("obj2env")

console.log(item("PORT", 8080))
// => PORT=8080
Expand Down Expand Up @@ -97,6 +97,11 @@ Create a file named `.env` in the specified directory.
Have an idea? Found a bug? See [how to contribute][contributing].


## :dizzy: Where is this library used?
If you are using this library in one of your projects, add it in this list. :sparkles:


- [`obj2env-cli`](https://github.com/Bloggify/obj2env-cli#readme) (by Bloggify)—Create .env files in your terminal.

## :scroll: License

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@
"blah": {
"description": "Use [`dotenv`](https://www.npmjs.com/package/dotenv) for loading an `.env` file in your application."
}
}
}

0 comments on commit eaf1856

Please sign in to comment.