Skip to content

Latest commit

History

History
39 lines (30 loc) 路 950 Bytes

README.md

File metadata and controls

39 lines (30 loc) 路 950 Bytes

馃摝 string-hunt

Fast text searching algorithms for small scale data

ci

$  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