Nope, prefer mopeds.

    extract-search-index
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.6 • Public • Published

    extract-search-index

    Extract unique keyword input list string for search

    page on codsen.com page on npm page on github Downloads per month changelog MIT Licence

    Install

    This package is pure ESM.

    npm i extract-search-index

    Quick Take

    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&nbsp;text</div>"), "some text");

    Documentation

    Please visit codsen.com for a full description of the API.

    Contributing

    To report bugs or request features or assistance, raise an issue on GitHub.

    Licence

    MIT License.

    Copyright © 2010-2022 Roy Revelt and other contributors.

    ok codsen star

    Install

    npm i extract-search-index

    DownloadsWeekly Downloads

    34

    Version

    2.0.6

    License

    MIT

    Unpacked Size

    240 kB

    Total Files

    7

    Last publish

    Collaborators

    • royston