diff --git a/README.md b/README.md index cb2c0450bb5d968de792faa9350249471773e0b6..1f3a6d790f089c0020da308f7e661b76a74566d0 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,14 @@ # config -[](https://it-devops-01.br-edv.brnet.int/general/config/commits/master) -[](https://it-devops-01.br-edv.brnet.int/general/config/commits/master) -[](https://it-devops-01.br-edv.brnet.int:8999/dashboard?id=config) - -Simple Config Log with HashiCorp Vault support. +Simple Config with ENV Support. ## Installation -- `npm config set @br:registry https://npm.br-edv.brnet.int` -- `npm config set strict-ssl false` -- `npm install --save @br/config` +- `npm install --save @plastdev/config` ## Usage -`const Config = require('@br/config')` +`const Config = require('@plastdev/config')` `let config = new Config()` Then config is your config object. (Use it like config.setting) diff --git a/index.test.js b/index.test.js index 6e5759d83fbc725bfe8cc9218d123e45e2d9fce6..a0541ae0a0e32e1116924b01579fabacb691f953 100644 --- a/index.test.js +++ b/index.test.js @@ -1,9 +1,3 @@ -/* TODO: - -* - overwrite -* - env overwrite -*/ - const fs = require('fs').promises const Config = require('./index') diff --git a/package.json b/package.json index 2109395d76268c7c95c4e862f6db07a70861d3c5..473a86a0de1a0c52b6ea296ab3fd4c9323d45c48 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,17 @@ { - "name": "@br/config", + "name": "@plastdev/config", "version": "1.4.0", - "description": "Simple Config Log with HashiCorp Vault support", + "description": "Simple Config with ENV Support", "main": "index.js", "scripts": { "test": "jest", - "test:mutation": "stryker run", - "sonarqube": "sonar-scanner -Dsonar.projectKey=config -Dsonar.sources=. -Dsonar.host.url=https://it-devops-01.br-edv.brnet.int:8999 -Dsonar.login=gitlab" + "test:mutation": "stryker run" }, "keywords": [ "config", "env" ], - "author": "Dominik Sigmund", + "author": "Dominik Sigmund <dominik.sigmund@br.de>", "license": "ISC", "dependencies": { "lodash.merge": "^4.6.2"