Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
extract-search-index
Advanced tools
Extract unique keyword input list string for search
This package is pure ESM.
npm i extract-search-index
import { strict as assert } from "assert";
import { extract } from "extract-search-index";
assert.equal(
extract("The quick brown fox jumps over the lazy dog."),
"quick brown fox jumps over lazy dog",
);
// works with HTML, strips tags
assert.equal(extract("<tralala><div>some text</div>"), "some text");
Please visit codsen.com for a full description of the API.
To report bugs or request features or assistance, raise an issue on GitHub.
MIT License.
Copyright © 2010-2024 Roy Revelt and other contributors.
FAQs
Extract unique keyword input list string for search
The npm package extract-search-index receives a total of 14 weekly downloads. As such, extract-search-index popularity was classified as not popular.
We found that extract-search-index demonstrated a healthy version release cadence and project activity because the last version was released less than 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.