search-index
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/search-index package

5.1.3 • Public • Published

search-index

A network resilient, persistent full-text search library for the browser and Node.js

npm npm license Build Status JavaScript Style Guide

Quick start

import { SearchIndex } from 'search-index' 

// initialize an index
const { PUT, QUERY } = new SearchIndex(options)

// add documents to the index
await PUT(documents)

// read documents from the index
const results = await QUERY(query)

Documentation

/search-index/

    Package Sidebar

    Install

    npm i search-index

    Weekly Downloads

    45,726

    Version

    5.1.3

    License

    MIT

    Unpacked Size

    654 kB

    Total Files

    25

    Last publish

    Collaborators

    • fergie
    • eklem
    • mewwts