
Security News
pnpm 10.12 Introduces Global Virtual Store and Expanded Version Catalogs
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
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-2025 Roy Revelt and other contributors.
FAQs
Extract unique keyword input list string for search
The npm package extract-search-index receives a total of 59 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 0 open source maintainers 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
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.