
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
#find-key
Finds matching value of supplied key inside deep nested object
npm install find-key
The return value will be an array of values matching the key name supplied
const Find = require('find-key');
const obj = {
type: 'object',
properties: {
first: {type: 'string', format: 'lookup'},
extra: {type: 'string', format: 'lookup'},
test: {type: 'string', format: 'dbRef'},
},
additionaProperties: false,
format: 'dbRef',
title: 'country schema',
};
const res = Find(obj, 'format');
console.log(res); // should equal an array with the following values ['lookup', 'dbRef']
FAQs
find value inside nested object from key name
The npm package find-key receives a total of 420 weekly downloads. As such, find-key popularity was classified as not popular.
We found that find-key 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.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.