Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
@fleekxyz/env-guards
Advanced tools
This package is solving not direct usage of `process.env`. Instead create in `src` of your package where you need secrets file `secrets.ts` and use it like this:
This package is solving not direct usage of process.env
. Instead create in src
of your package where you need secrets file secrets.ts
and use it like this:
import { parseEnvs } from '@fleekxyz/env-guards';
export const envGuards = parseEnvs([
'HERE_LIST', //
'THE_ENV_VARIABLES',
'YOU_WANT_TO_USE',
]);
and then everywhere in your package you can use it like this:
import { envGuards } from './envGuards';
console.log(envGuards.HERE_LIST);
The list of strings (name of envs) that you can pass to parseEnvs
function is limited. If you want to extend it and add new env name, feel free to add it in this file: /packages/env-guards/src/lib/availableEnvKeys.ts
and build the package before usage.
FAQs
This package is solving not direct usage of `process.env`. Instead create in `src` of your package where you need secrets file `secrets.ts` and use it like this:
The npm package @fleekxyz/env-guards receives a total of 0 weekly downloads. As such, @fleekxyz/env-guards popularity was classified as not popular.
We found that @fleekxyz/env-guards demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 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.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.