
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
Rlse (Release) is an open source library, written in Rust, that provides a simple efficient way to keep your feature flag definitions with your code making them a first class code citizen.
$ npm install rlse -S
Create a new file in the root of your project called rlse.toml.
An example config file:
[features]
testFeature1 = { environments = ['dev', 'test']}
testFeature2 = { environments = ['test']}
testFeature3 = { environments = ['dev', 'uat', 'test', 'prod']}
You can name this file anything you want, just set the RLSE_CONFIG environment variable to the name of the file if you name it something other than rlse.toml.
Be sure to include rlse.toml in your build process so it deploys with your application.
The [features] section is the where the magic happens. The simplest definition looks like this.
uniqueFriendlyFeatureName = { environments = ['dev']}
This simply states that uniqueFriendlyFeatureName is enabled in the dev environment, environment is inferred from APP_ENV or passed to the test function.
Wrap your abstraction in a test.
import { is_enabled } from 'rlse';
// Will look for APP_ENV to be set
// Defaults to 'dev' environment if not set
if (is_enabled('uniqueFriendlyFeatureName')) { ... }
// Or you can pass in an environment name as the second parameter
if (is_enabled('uniqueFriendlyFeatureName', 'dev')) { ... }
is_enabled() will return false unless it finds a feature/environment combiantion defined in the config file.
FAQs
Code first feature flags
The npm package rlse receives a total of 3 weekly downloads. As such, rlse popularity was classified as not popular.
We found that rlse 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.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.