![From Academia to Industry](https://cdn.sanity.io/images/cgdhsj6q/production/70501690bf807891573e259da9719cf24302c7e3-4288x2848.jpg?w=400&fit=max&auto=format)
Employee Spotlight
From Academia to Industry
Philipp Burckhardt recounts his journey from childhood computer fascinations, to building an e-learning platform at Carnegie Mellon University, and on to his current role at Socket.
beenvo
Advanced tools
Beenvo let you loads environment variables from files (support many files extensions) for Node.js projects.
Changelog
v0.5.0 (08 Jan 2022)
Readme
Features
🦄 Inspired from dotenv.
🚀 Isomorphic to the moon.
🔥 Blaze and lightweight.
🐱🐉 Support many files extensions (not only .env*
);
*.toml
) support.*.yml
and *.yaml
) support.*.ini
and *.properties
) support.*.xml
) support.*.json
) support..env*
) support.🧼 Support clean up variables loaded inside process.env
.
📟 Support preload (with cli). [🚧 - welcome to any kind of help 👋🏻]
🐱👤 Strong competitor to the rest dotEnv modules.
🐢 Node.js support.
🦕 Deno support. [🚧 - welcome to any kind of help 👋🏻]
🎉 TypeScript support.
Notes:
Require Node 12+.Installation
# npm
$ npm install beenvo
# yarn
$ yarn add beenvo
Usage
This is a practical example of how to use.
# create your variables file with name `env.yaml`.
SOME_NUMBER: 1000
SOME_STRING: "don't do that"
// const beenvo = require("beenvo");
import beenvo from "beenvo";
const options = { path: "env.yaml" };
beenvo(options);
// process.env.SOME_NUMBER // 1000
// process.env.SOME_STRING // "don't do that"
if you want more example you can check the test folder or open an issue 😉.
OPTIONS
You can pass options object to beenvo;
options.path
— (String) represent path to the file which contains your variables (default to '.env'
).options.cleanup
— (Boolean) to remove all loaded variables (default to false
).Support
If you have any problem or suggestion please open an issue.
FAQs
Beenvo let you loads environment variables from files (support many files extensions) for Node.js projects.
The npm package beenvo receives a total of 36 weekly downloads. As such, beenvo popularity was classified as not popular.
We found that beenvo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Employee Spotlight
Philipp Burckhardt recounts his journey from childhood computer fascinations, to building an e-learning platform at Carnegie Mellon University, and on to his current role at Socket.
Security News
Git dependencies in open source packages can introduce significant risks, including lack of version control, stability issues, dependency drift, and difficulty in auditing, making them potential targets for supply chain attacks.
Security News
Node.js has added experimental support for TypeScript, a move that highlights the growing importance of TypeScript in modern development.