mirror of
https://github.com/harish2704/tconfig.git
synced 2026-09-10 07:01:07 +00:00
* Rm unwanted dependency
* Fix docs
This commit is contained in:
@@ -57,7 +57,7 @@ For eg:
|
||||
|
||||
```bash
|
||||
hari@hari-VirtualBox:~app$ env NODE_ENV=production TC_db.mysql.user=root node xyz.js
|
||||
{ port: 5000, db: { mysql: { user: 'root' } } }
|
||||
{ port: 4000, db: { mysql: { user: 'root' } } }
|
||||
```
|
||||
|
||||
##### Use custom env prefix.
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tconfig",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"description": "A simple transparent config file loader for Nodejs applications. any config field can be overriden using environmen variables",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@@ -22,6 +22,5 @@
|
||||
},
|
||||
"homepage": "https://github.com/harish2704/tconfig#readme",
|
||||
"dependencies": {
|
||||
"lodash.defaultsdeep": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user