loose-envify
npmv1.4.0Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST
Overview
loose-envify is an npm package that fast (and loose) selective `process.env` replacer using js-tokens instead of an AST. The latest version is 1.4.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need fast (and loose) selective `process.env` replacer using js-tokens instead of an AST and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of loose-envify.
Dependencies
Runtime (1)
Dev (3)
Used by
Popular packages that depend on loose-envify.
Alternatives to loose-envify
Get and typecast environment variables.
Strip comments from JSON. Lets you use comments in your JSON files!
Trace the original position through a source map
Browser-friendly inheritance fully compatible with standard node.js inherits()
Generate source maps
Remap sequential sourcemaps through transformations to point at the original source code
Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.
Get paths for storing things like data, config, cache, etc
Support for `import <defer|source>` phase syntax in Acorn
Converts a source-map from/to different formats and allows adding/changing properties.
Get the PATH environment variable key cross-platform
Check if the process is running inside a container (Docker/Podman)
Frequently installed together
Delightful JavaScript Testing.
Immutable Data Collections
Create a stream that emits events from multiple other streams
A shim for the setImmediate efficient script yielding API
Bare bones Promises/A+ implementation
Version history
| Version | Published | License |
|---|---|---|
| 1.4.0latest | 8 years ago | MIT |
| 1.3.1 | 9 years ago | MIT |
| 1.3.0 | 9 years ago | MIT |
| 1.2.0 | 10 years ago | MIT |
| 1.1.0 | 10 years ago | MIT |
| 1.0.0 | 10 years ago | MIT |
Maintainers
Frequently asked questions
How do I install loose-envify?
Run `npm install loose-envify` to add loose-envify to your npm project.
What license is loose-envify released under?
loose-envify is distributed under the MIT license.
How popular is loose-envify?
loose-envify has approximately 0 downloads per week and 2 known dependent packages.