JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 48459
  • Score
    100M100P100Q147368F

Fuzzy filtering and string scoring

Package Exports

  • fuzzaldrin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fuzzaldrin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

fuzzaldrin Build Status

Fuzzy filtering and string scoring.

Using

npm install fuzzaldrin
{filter, score} = require 'fuzzaldrin'

filter(['Call', 'Me', 'Maybe'], 'me') # ['Me', 'Maybe']

score('Me', 'me') # 0.75
score('Maybe', 'me') # 0.31499999999999995

Developing

git clone https://github.com/atom/fuzzaldrin.git
cd fuzzaldrin
npm install
npm test