megasearchjs

1.0.2 • Public • Published

MEGASEARCH

MEGASEARCH is a search libary that trades storage space for less memory usage allowing you to search very large amounts of data.

Installation

Using NPM to install MEGASEARCH.

npm install megasearchjs

Usage

const megasearch = require('megasearchjs');

let ms = new megasearch();

// Add a new document
ms.add("insertidhere", "document data...");

// Query MEGASEARCH
ms.query("what ever search query you have").then((data) => {
  console.log(data);
});

// Get document by ID
ms.id("insertidhere").then((data) => {
  console.log(data);
});

Notes

Your data will be stored in a folder call /store

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i megasearchjs

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

4.74 kB

Total Files

3

Last publish

Collaborators

  • m-a-s-o-n