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

6.0.1 • 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

Package Sidebar

Install

npm i search-index

Weekly Downloads

155,540

Version

6.0.1

License

MIT

Unpacked Size

693 kB

Total Files

25

Last publish

Collaborators

  • fergie
  • eklem
  • mewwts