2.0.1 • Published 10 months ago

tokenized-search v2.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Tokenized Search

Fuzzy search an array of strings, prioritizing matches happening at token boundaries.

Note: this library is designed for searching code tokens (i.e. symbols and identifiers in PascalCase, camelCase, kebab-case, snake_case, etc.)

This replicates the functionality implemented by common IDEs and some other solutions (i.e. GitHub) for searching files and symbols, with adding bias towards matching the beginning of the words (called tokens), falling back to regular wildcard matching which yields lower score.

The results are scored based on their relevance to the search query. Token-based matches are given higher priority.

2.0.1

10 months ago

2.0.0

10 months ago

1.2.0

12 months ago

1.1.0

12 months ago

1.3.0

11 months ago

1.0.0

3 years ago

0.3.0

3 years ago

0.2.0

4 years ago

0.1.0

4 years ago