Comparing version 1.4.1 to 2.0.0
@@ -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! |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
172
0
9759
92