| 1 |
Source: libjs-sifter.js |
| 2 |
Section: javascript |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 5 |
Uploaders: Sergio Durigan Junior <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13), yui-compressor, mocha |
| 7 |
Standards-Version: 4.5.1 |
| 8 |
Homepage: https://github.com/brianreavis/sifter.js |
| 9 |
Vcs-Git: https://salsa.debian.org/js-team/libjs-sifter.js.git |
| 10 |
Vcs-Browser: https://salsa.debian.org/js-team/libjs-sifter.js |
| 11 |
|
| 12 |
Package: libjs-sifter.js |
| 13 |
Architecture: all |
| 14 |
Depends: ${misc:Depends} |
| 15 |
Multi-Arch: foreign |
| 16 |
Description: Library for textually searching arrays and hashes of objects |
| 17 |
Sifter is a client and server-side library (via UMD) for textually |
| 18 |
searching arrays and hashes of objects by property – or multiple |
| 19 |
properties. It's designed specifically for autocomplete. The process |
| 20 |
is three-step: score, filter, sort. |
| 21 |
. |
| 22 |
* Supports díåcritîçs. |
| 23 |
. |
| 24 |
For example, if searching for "montana" and an item in the set has |
| 25 |
a value of "montaña", it will still be matched. Sorting will also |
| 26 |
play nicely with diacritics. |
| 27 |
. |
| 28 |
* Smart scoring. |
| 29 |
. |
| 30 |
Items are scored / sorted intelligently depending on where a |
| 31 |
match is found in the string (how close to the beginning) and |
| 32 |
what percentage of the string matches. |
| 33 |
. |
| 34 |
* Multi-field sorting. |
| 35 |
. |
| 36 |
When scores aren't enough to go by – like when getting results |
| 37 |
for an empty query – it can sort by one or more fields. For |
| 38 |
example, sort by a person's first name and last name without |
| 39 |
actually merging the properties to a single string. |
| 40 |
. |
| 41 |
* Nested properties. |
| 42 |
. |
| 43 |
Allows one to search and sort on nested properties so you can |
| 44 |
perform search on complex objects without flattening them simply |
| 45 |
by using dot-notation to reference fields (ie. nested.property). |