@texthill/localstorage
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.0 • Public • Published

    TextHill localstorage

    A search engine written in typescript, can be used in the browser, with node.js and deno.

    Look at this example below to get you started.

    const bh = new TextHill(new LocalStorageStore());
    const feed = async () => {
        await bh.feedDoc("hello world", "some hello world for feeding");
     
        const results = await bh.search("feeding"); 
    }

    Or remove the document from the index.

    const bh = new TextHill(new LocalStorageStore());
    bh.removeDoc("hello world").then(_ => console.log('succesfully removed'))

    Install

    npm i @texthill/localstorage

    DownloadsWeekly Downloads

    0

    Version

    0.3.0

    License

    ISC

    Unpacked Size

    69.9 kB

    Total Files

    58

    Last publish

    Collaborators

    • jorishermans