Skip to content

regisrex/string-hunt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 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

About

📦 recursive text searching algo. for small scale data

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published