Notorious Party Muppets

    search-light

    0.4.1 • Public • Published

    SearchLight

    JavaScript searching and filtering with an easy to read interface and a focus on speed and low memory usage.

    Installation

    NPM

    npm install search-light
    

    Yarn

    yarn add search-light
    

    CDN

    <script src="https://unpkg.com/search-light"></script>
    

    Usage

    ES6

    import search from 'search-light';
    let matches = search(collection).for('search text')
                                    .and('list')
                                    .matches
    

    CDN

    var matches = window.searchLight
      .search(collection)
      .for('search text')
      .and('list')
      .matches
    

    TODO

    • Add code style linting
    • More examples in the documentation
    • Automated testing

    Install

    npm i search-light

    DownloadsWeekly Downloads

    30

    Version

    0.4.1

    License

    MIT

    Last publish

    Collaborators

    • noolan