Socket
Socket
Sign inDemoInstall

now-env

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

now-env - npm Package Compare versions

Comparing version 1.4.1 to 2.0.0

3

index.js

@@ -29,2 +29,3 @@ 'use strict'

exports.config = config
// run
config()
{
"name": "now-env",
"version": "1.4.1",
"version": "2.0.0",
"description": "Use `now.json` environment variables while developing",

@@ -5,0 +5,0 @@ "keywords": [

# now-env
With the help of this package, you can easily set environment variables for the use in development.

@@ -18,10 +17,6 @@

As the last step:
As the last step, register the helper by loading it:
```js
// Load it
const nowEnv = require('now-env')
// And run it
nowEnv.config()
require('now-env')
```

@@ -96,3 +91,3 @@

2. Install `now-env`
3. Change `require('dotenv').config()` with `require('now-env').config()`
4. That's all!
3. Change `require('dotenv').config()` with `require('now-env')`
4. That's it!
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