Socket
Book a DemoInstallSign in
Socket

@archipel/sonar

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@archipel/sonar

A tantivy frontend through node.js

npmnpm
Version
0.0.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

sonar (WIP)

A tantivy frontend through node.js

You need a rust toolchain to install sonar, it should build upon running npm install @archipel/sonar.

TODO: Add CI builds and download binaries from github instead of building on install.

  const Sonar = require('@archipel/sonar')

  const catalog = new Sonar('./data')
  const index = await catalog.openOrCreate('foo', fixtures.schema)
  await i1.addDocuments(fixtures.docs)
  await i2.addDocuments(fixtures.docs2)
  console.log('query results', await index.query('hello'))

FAQs

Package last updated on 31 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts