Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@avanio/variable-util

Package Overview
Dependencies
Maintainers
3
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avanio/variable-util - npm Package Compare versions

Comparing version
1.3.0
to
1.3.1
+1
-1
package.json
{
"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",

# @avanio/variable-util
## getConfigVariable
[![TypeScript](https://badges.frapsoft.com/typescript/code/typescript.svg?v=101)](https://github.com/ellerbrock/typescript-badges/)
[![npm version](https://badge.fury.io/js/@avanio%2Fvariable-util.svg)](https://badge.fury.io/js/@avanio%2Fvariable-util)
[![Maintainability](https://qlty.sh/gh/mharj/projects/variable-util/maintainability.svg)](https://qlty.sh/gh/mharj/projects/variable-util)
[![Code Coverage](https://qlty.sh/gh/mharj/projects/variable-util/coverage.svg)](https://qlty.sh/gh/mharj/projects/variable-util)
[![variable-util to npmjs](https://github.com/mharj/variable-util/actions/workflows/variable-util.yml/badge.svg)](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 @@