node-microsvc-lib
Advanced tools
Comparing version
{ | ||
"name": "node-microsvc-lib", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "NodeJS microservice framework library", | ||
@@ -77,2 +77,3 @@ "main": "lib/index.js", | ||
"nyc": "^15.0.1", | ||
"snyk": "^1.330.2", | ||
"ts-node-dev": "^1.0.0-pre.44", | ||
@@ -79,0 +80,0 @@ "typescript": "^3.9.3" |
@@ -110,3 +110,3 @@ # node-microsvc-lib | ||
import {PARAM_TYPES, ServiceParams} from "node-microsvc-lib"; | ||
import {ParamTypes, ServiceParams} from "node-microsvc-lib"; | ||
let params = new ServiceParams(); | ||
@@ -116,3 +116,3 @@ | ||
"test_param", | ||
PARAM_TYPES.STRING, | ||
ParamTypes.STRING, | ||
"default_val", | ||
@@ -154,8 +154,8 @@ "test param to be overridden by env_var" | ||
```bash | ||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash | ||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | ||
``` | ||
After NVM is installed, execute this to download and install the correct node version: | ||
After NVM is installed, go to the proect directory and execute this to download and install the correct node version: | ||
```bash | ||
nvm install 10.15.0 | ||
nvm install -s | ||
``` |
133978
0.03%18
5.88%