search-index

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

Usage no npm install needed!

<script type="module">
  import searchIndex from 'https://cdn.skypack.dev/search-index';
</script>

README

search-index

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

Gitter npm npm license Build Status JavaScript Style Guide

Quick start

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 */ )

Documentation