全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: libjs-sifter.js  ]

套件:libjs-sifter.js(0.6.0+dfsg-3)

libjs-sifter.js 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 libjs-sifter.js

維護小組:

外部的資源:

相似套件:

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 one 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).

下載 libjs-sifter.js

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 11。9 kB35。0 kB [檔案列表]