
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@strav/flag
Advanced tools
Feature flags for the Strav framework. Define, scope, and toggle features with database persistence, in-memory drivers, and per-user/team targeting.
bun add @strav/flag
bun strav install flag
Requires @strav/core as a peer dependency.
import { FlagProvider } from '@strav/flag'
app.use(new FlagProvider())
import { flag } from '@strav/flag'
// Check if a feature is active
if (await flag.active('dark-mode')) {
// feature is enabled
}
// Scoped to a user or team
if (await flag.for(user).active('beta-dashboard')) {
// enabled for this user
}
// Rich values
const limit = await flag.value('upload-limit', 10)
import { ensureFeature } from '@strav/flag'
router.get('/beta', ensureFeature('beta-dashboard'), betaHandler)
_strav_featuresbun strav flag:setup # Create the features table
See the full Flag guide.
MIT
FAQs
Strav feature-flag primitive — FlagManager + scope-aware resolution + in-memory store, with Postgres store, HTTP middleware, and CLI commands shipped under subpaths. Mirrors @strav/cache: kernel-free core in the root, every backend/integration under its o
The npm package @strav/flag receives a total of 5 weekly downloads. As such, @strav/flag popularity was classified as not popular.
We found that @strav/flag demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.