@avanio/variable-util
Advanced tools
+1
-1
| { | ||
| "name": "@avanio/variable-util", | ||
| "version": "1.3.0", | ||
| "version": "1.3.1", | ||
| "description": "Utility to get variables from multiple resources", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs", |
+5
-4
| # @avanio/variable-util | ||
| ## getConfigVariable | ||
| [](https://github.com/ellerbrock/typescript-badges/) | ||
| [](https://badge.fury.io/js/@avanio%2Fvariable-util) | ||
| [](https://qlty.sh/gh/mharj/projects/variable-util) | ||
| [](https://qlty.sh/gh/mharj/projects/variable-util) | ||
| [](https://github.com/mharj/variable-util/actions/workflows/variable-util.yml) | ||
| getConfigVariable is a utility function that extracts configuration values from different sources like environment variables and even fetches remote configuration values. | ||
| Also have ability to parse (and verify) string, URL and JSON stringified or semicolon separated object values. | ||
@@ -12,3 +14,2 @@ ## NodeJS Installation | ||
| npm i @avanio/variable-util | ||
| npm i url-polyfill # import this to code if you need to support URL in older nodejs versions | ||
| ``` | ||
@@ -15,0 +16,0 @@ |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
466879
0.07%108
0.93%