JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q59029F
  • License MIT

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

Package Exports

  • @kldavis4/search-index
  • @kldavis4/search-index/src/browser.js
  • @kldavis4/search-index/src/node.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@kldavis4/search-index) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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