const si = require('search-index')
// initialize an index
const { PUT, QUERY } = await si()
// add documents to the index
await PUT( /* objects */ )
// read documents from the index
const results = await QUERY( /* query */ )
soltrinox/search-index
A persistent, network resilient, full text search library for the browser and Node.js
JavaScriptMIT