Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noredink/elm-simple-fuzzy
http://package.elm-lang.org/packages/NoRedInk/elm-simple-fuzzy/latest
https://github.com/noredink/elm-simple-fuzzy
Last synced: about 2 months ago
JSON representation
http://package.elm-lang.org/packages/NoRedInk/elm-simple-fuzzy/latest
- Host: GitHub
- URL: https://github.com/noredink/elm-simple-fuzzy
- Owner: NoRedInk
- License: bsd-3-clause
- Created: 2016-10-25T18:02:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-28T22:02:54.000Z (over 6 years ago)
- Last Synced: 2024-05-08T23:24:51.370Z (8 months ago)
- Language: Elm
- Homepage:
- Size: 18.6 KB
- Stars: 17
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple package for filtering strings.
## Example
```elm
filterSomeObjects =
let
languages =
[ { name = "Elm" }
, { name = "Ruby" }
, { name = "Rust" }
, { name = "Haskell" }
, { name = "javascript" }
, { name = "English" }
]
in
Simple.Fuzzy.filter .name "el" languages
```gives:
```elm
[ { name = "Elm" }
, { name = "Haskell"}
, { name = "English"}
]```