[Pkg-javascript-devel] Bug#834466: ITP: libjs-sifter.js -- Library for textually searching arrays and hashes of objects
Sergio Durigan Junior
sergiodj at sergiodj.net
Mon Aug 15 23:38:35 UTC 2016
Package: wnpp
Severity: wishlist
Owner: Sergio Durigan Junior <sergiodj at sergiodj.net>
* Package name : libjs-sifter.js
Version : 0.4.1
Upstream Author : Brian Reavis <brian at thirdroute.com>
* URL : https://github.com/brianreavis/sifter.js
* License : Apache-2.0
Programming Lang: JavaScript
Description : Library for textually searching arrays and hashes of objects
Sifter is a client and server-side library (via UMD) for textually
searching arrays and hashes of objects by property – or multiple
properties. It's designed specifically for autocomplete. The process
is three-step: score, filter, sort.
.
* Supports díåcritîçs.
.
For example, if searching for "montana" and an item in the set has
a value of "montaña", it will still be matched. Sorting will also
play nicely with diacritics.
.
* Smart scoring.
.
Items are scored / sorted intelligently depending on where a match
is found in the string (how close to the beginning) and what
percentage of the string matches.
.
* Multi-field sorting.
.
When scores aren't enough to go by – like when getting results for
an empty query – it can sort by one or more fields. For example,
sort by a person's first name and last name without actually
merging the properties to a single string.
.
* Nested properties.
.
Allows to search and sort on nested properties so you can perform
search on complex objects without flattening them simply by using
dot-notation to reference fields (ie. nested.property).
This package is a dependency necessary for pagure.
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20160815/c6407808/attachment.sig>
More information about the Pkg-javascript-devel
mailing list