Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

env-var

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env-var - npm Package Versions

1234

2.4.1

Diff

Changelog

Source

2.4.1 (15/12/2016)

  • Remove unnecessary code path
evanshortiss
published 2.3.2 •

evanshortiss
published 2.4.0 •

Changelog

Source

2.4.0 (15/12/2016)

  • Add asArray([delimeter]) to read environment variables as an array by splitting the varible string on each instance of delimeter;
  • Add asJsonArray() to read in an environment variable that contains a JSON Array. Similar to asJson(), but ensures the variable is an Array.
  • Add asJsonObject() to read in an environment variable that contains a JSON Object. Similar to asJson(), but ensures the variable is an Object.
evanshortiss
published 2.3.1 •

Changelog

Source

2.3.0 & 2.3.1 (12/12/2016)

  • Add typings support for TypeScript
evanshortiss
published 2.3.0 •

Changelog

Source

2.3.0 & 2.3.1 (12/12/2016)

  • Add typings support for TypeScript
evanshortiss
published 2.2.0 •

Changelog

Source

2.2.0 (28/10/2016)

  • Thanks to @itavy for a patch for our asBool parsing and adding the new asStrictBool function
evanshortiss
published 2.1.0 •

Changelog

Source

2.1.0 (25/10/2016)

  • Added env.mock PR from @MikeyBurkman to improve testability
evanshortiss
published 2.0.0 •

Changelog

Source

2.0.0 (27/07/2016)

  • Add CI process for node 6, 5, 4, and 0.10
  • Add chained functions for variable validations
  • Add assertions for required() and various type checks, e.g asPositiveInt()
  • Remove node 0.8.x support
  • Remove old pattern of returning variables directly
  • Continue support for defaults from 1.X
evanshortiss
published 1.0.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc