xsearch

0.2.0 • Public • Published

xsearch

Javascript implementation of xSearch.

npm Build Status Dependencies

Example

 
import XSearch from 'xsearch';
 
let xSearch = new XSearch();
 
xSearch.index(vGraph)
  .then(ignored => xSearch.search({
    index: 'person',
    fields: {
      name: 'bob'
    }
  }))
  .then(results => {
    console.log(results);
  })
  .catch(error => {
    console.error(error);
  })

Installation

npm install vgraph

Readme

Keywords

Package Sidebar

Install

npm i xsearch

Weekly Downloads

4

Version

0.2.0

License

MIT

Last publish

Collaborators

  • jonnymbgood