Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@hishprorg/officia-incidunt
Advanced tools
This packages lets you autoload your environment variables from your `.env` file, no code changes required.
This packages lets you autoload your environment variables from your .env
file, no code changes required.
Similar to dotenv
, but with zero-dependencies and less verbose.
Easy as:
yarn add @hishprorg/officia-incidunt
node -r @hishprorg/officia-incidunt index.js # autoloads .env file
Features:
.env.<NODE_ENV>
or .env
file.env
filename with ENVK
environment variable"SECRET=hello\nworld"
#
You can see what's happening inspecting index.js
.
Nothing more, nothing less.
Load envs from .env
:
node -r @hishprorg/officia-incidunt index.js
Load envs from .env.production
file, otherwise .env
:
NODE_ENV=production node -r @hishprorg/officia-incidunt index.js
Load envs from specific file:
ENVK=file.env node -r @hishprorg/officia-incidunt index.js
Log to console imported variables:
ENVK_DEBUG=1 node -r @hishprorg/officia-incidunt index.js
FAQs
This packages lets you autoload your environment variables from your `.env` file, no code changes required.
We found that @hishprorg/officia-incidunt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.