1.1.0 • Published 7 months ago

string-hunt v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Full Text Search Algorithm


Text search algorithm for searching through a list of JSON objects

$  yarn add string-hunt

Usage

const search  = require('string-hunt')

const data = [
    {
        name : "Cedrick",
        age : 20
    },
    {
        name : "Marrick",
        age :  10
    }
]

(() => {
    const results = search(data.map(datum => JSON.stringify(datum)), 'rick0')
    console.log(results.length)    // 2
})()

Contributing

Contributors are welcomed, you can contribute by opening an issue or making a pull request (which is better 😀).

Maintainers

It is maintained by @pacifiquem and @regisrex

Licence

This project is under MIT Licence

1.1.0

7 months ago

1.0.0

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago