
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@astro-my/featuretoggle
Advanced tools
A client-side Javascript SDK that handles communication with Feature Flag service
The SDK will make an API call to the service which will retrieve the information from cache before resorting to calling the DB
Calling the get method with featureId (which can be found on the feature store in admin portal) will return information for the particular flag
const ICode = require('@astro-my/idc-code')
const featureflag = require('@astro-my/featuretoggle')
exports.get = async (req, res, next) => {
try {
const { featureId } = req.query
const result = await featureflag.get(featureId)
return res.status(ICode.HTTP.OK).json({
responseCode: ICode.HTTP.OK,
responseMessage: 'Flag successfully fetched',
response: result
})
} catch (err) {
return next(err)
}
}
get accepts a single featureId or an array of featureId as input. An array of matching feature flags will be return in the case of passing in array as input
FAQs
Retrieve feature flags status for services or portal
The npm package @astro-my/featuretoggle receives a total of 4 weekly downloads. As such, @astro-my/featuretoggle popularity was classified as not popular.
We found that @astro-my/featuretoggle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.