
Security News
GitHub Actions Supply Chain Attack Puts Thousands of Projects at Risk
A compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
@imtbl/config
Advanced tools
The Config package exposes a configuration class and some utilities to create a configuration object. This object contains information used for the SDK setup by consumers. It ensures that all modules and packages within the SDK can access the necessary configuration settings in a consistent and reliable manner, as well as providing customers with a simple way to configure the SDK for their specific environment.
To install this package, run the following command:
npm add @imtbl/config
# or
pnpm add @imtbl/config
# or
yarn add @imtbl/config
This package is also included within the @imtbl/sdk
NPM package and can be re-exported directly from there.
If your environment supports conditional exports, you can import the contents of this package directly from the @imtbl/sdk
package using the @imtbl/sdk/config
import path like so:
import { Environment } from '@imtbl/sdk/config';
This is the recommended way of consuming this package, as it allows for better tree-shaking and smaller bundle sizes.
If your environment does not support conditional exports, you will need to import the contents of this package directly from the @imtbl/sdk
package like so:
import { config } from '@imtbl/sdk';
const { Environment } = config;
However this method will result in a larger bundle size as the entire @imtbl/config
package will be included in your bundle.
FAQs
Config for Immutable SDK
The npm package @imtbl/config receives a total of 2,518 weekly downloads. As such, @imtbl/config popularity was classified as popular.
We found that @imtbl/config 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
A compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
Research
Security News
A malicious Maven package typosquatting a popular library is secretly stealing OAuth credentials on the 15th of each month, putting Java developers at risk.
Security News
Socket and Seal Security collaborate to fix a critical npm overrides bug, resolving a three-year security issue in the JavaScript ecosystem's most popular package manager.