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

env2object

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env2object - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

.idea/env2object.iml

4

index.js

@@ -12,3 +12,3 @@ 'use strict';

if (key.indexOf(PREFIX) === 0) {
var tmp = config;
var tmp = object;
key.slice(PREFIX.length).split(delim).forEach((prop, i, all) => {

@@ -19,3 +19,3 @@ if ((i + 1) < all.length) {

var value = process.env[key];
// either the initial config is an Array
// either the initial object is an Array
// or the string contains a,b,b but not a\,b\,c *

@@ -22,0 +22,0 @@ // * to allow use of comma in single value

{
"name": "env2object",
"version": "0.0.0",
"version": "0.0.1",
"description": "will read in environment variables and place them into an object",

@@ -5,0 +5,0 @@ "main": "index.js",

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