cerebral-module-fuse
A cerebral module that adds fuzzy search to data in the store.
Install
npm install cerebral-module-fuse
Usage
From your main.js
controller
See fuse docs for more information about available options.
from your component.js
users: <ul> users </ul>
to execute the search simply call the search
signal and the view will automatically update
signalsfindUsers
you can also access the filtered data from an action via the provided service
state services: findUsers const users = findUsers
Contribute
Fork repo
npm install
npm start
runs dev mode which watches for changes and auto lints, tests and buildsnpm test
runs the testsnpm run lint
lints the codenpm run build
compiles es2015 to es5