
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.
deep-blue-string
Advanced tools
Apply prototype funtions to strings deep in data types
npm install --save deep-blue-string
const dbs = require('deep-blue-string');
//Sanitize any data type
dbs({userInput: 'DROP TABLE admin'}, String.prototype.replace, ['DROP TABLE', 'not in my house']);
//=> {userInput: 'not in my house admin'}
Required
Type: Any
Required
Type: function
Optional
Type: string
|| array
Description: If the user inputted function takes arguments, supply them here. For multiple arguments (like String.prototype.replace
, input them as an array).
Apply function to all strings in target
. Deeply nested strings will be found and operated on. No casting will be done on inputted target
.
Supported target
Data Types:
MIT © dawsonbotsford
FAQs
Apply prototype functions to strings deep within data types
The npm package deep-blue-string receives a total of 6 weekly downloads. As such, deep-blue-string popularity was classified as not popular.
We found that deep-blue-string 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.