Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@axah/env-utils
Advanced tools
Environment nodeJS utils for microservices at AXA Healthcare switzerland.
Install @axah/env-utils
using the following command:
yarn add @axah/env-utils
Here some examples.
import { parseBooleanFromEnv, parseDateFromEnv, parseStringFromEnv, parseIntegerFromEnv, parseFloatFromEnv } from '@axah/env-utils/lib/main';
export default {
logLevel: parseStringFromEnv('LOG_LEVEL', 'debug'),
enableQG: parseBooleanFromEnv('ENABLE_QG', true),
sendContractDate: parseDateFromEnv('SEND_CONTRACT_DATE', new Date(Date.UTC(2020,0,1))),
maxRetries: parseIntegerFromEnv('MAX_RETRIES', 5),
confidenceLevelThreshold: parseIntegerFromEnv('CONFIDENCE_LEVEL_THRESHOLD', 0.95),
clientCertificate: {
pfxFilePath: parseStringFromEnv('CP_CERT_FILE', ''),
passphraseFilePath: parseStringFromEnv('CP_CERT_PASSPHRASE_FILE', ''),
},
};
When a PR is still open and you want to give it a try you can use a build created by Pika CI. Head to the Checks
tab of your PR and select the Pika CI
action where you find instructions on how to install the package built out of this PR.
Create a release on github and name the tag in the format vMAJOR.MINOR.PATCH
and the github action in .github/workflows/publish.yml
will take care of publishing the package to npm.
Note: As this technique currently updates the npm dist-tag latest
to whatever release you create you should either not use this technique to cut a prerelease (i.e. using pattern vMAJOR.MINOR.PATCH-PRERELEASE.NUMBER
) or a patch/minor version of an old major/minor OR fix the npm dist-tag afterwards using npm dist-tag @axah/docker-healthcheck@<latest version> latest
FAQs
Environment nodeJS utils for microservices at AXA Healthcare switzerland.
The npm package @axah/env-utils receives a total of 0 weekly downloads. As such, @axah/env-utils popularity was classified as not popular.
We found that @axah/env-utils 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.
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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.