Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
es-string-utils
Advanced tools
A collection of utility functions to manipulate string in javascript and typescript
A collection of utility functions for string manipulation in javascript and typescript.
Installation using npm
npm install es-string-utils --save
Installation using yarn
yarn add es-string-utils
Usage with es6 import
import { containsAnyIgnoreCase, capitalize } from 'es-string-utils';
const contains = containsAnyIgnoreCase('This is the source string', 'tocheck'); //false
const capitalizedText = capitalize('capitalize This strinG'); //Capitalize This String
Usage with plain old javascript
const stringUtils = require('es-string-utils');
const contains = stringUtils.containsAnyIgnoreCase('This is the source string', 'tocheck'); //false
const capitalizedText = stringUtils.capitalize('capitalize This strinG'); //Capitalize This String
FAQs
A collection of utility functions to manipulate string in javascript and typescript
We found that es-string-utils 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.