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.
Sexy and fashionable string manipulation in JavaScript.
This library assumes an ES5 environment, but can be easily supported in ES3 platforms by the use of shims. Just include es5-shim :3
var l = require('lingerie')
l.isEmpty('foo')
// => (Boolean) false
// Most functions are curried though, so take advantage of it:
var fooStuff = l.startsWith('foo')
fooStuff('fooBar')
// => (Boolean) true
Just grab it from NPM:
$ npm install lingerie
A quick reference of the API can be built using Calliope:
$ npm install -g calliope
$ calliope build
You can run all tests using Mocha:
$ npm test
MIT/X11. ie.: do whatever you want.
FAQs
Sexy and fashionable string manipulation in JavaScript.
We found that lingerie 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.