list.js README

The project's README from github.com/javve/list.js. As one markdown file: README.md.

List.js

Perfect library for adding search, sort, filters and flexibility to tables, lists and various HTML elements. Built to be invisible and work on existing HTML. Really simple and easy to use!

Donate npm version CircleCI codecov jsDelivr Hits

Core idea

Features

Download / Install

Via NPM
npm install list.js
Via Bower
bower install list.js
Via CDNJS
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/2.3.1/list.min.js"></script>
Via Direct Download

Questions / How to?

https://stackoverflow.com/questions/tagged/list.js

Demo / Examples

Documentation

Thanks to all lovely contributors! Want to join them?

Creator

Jonny Strömberg @javve
Image of Jonny I hope you like the lib. I’ve put a lot of hours into it! Feel free to follow me on Twitter for news and donate a coffee for good karma ;)

License (MIT)

Copyright (c) 2011-2020 Jonny Strömberg <[email protected]> javve.com

list.js (javve/list.js)

pagination
Searching Database…

11.2K ·GitHub
What is this?List.js is a JavaScript library that adds search, sort, filters, and pagination to existing HTML lists and tables without requiring a rebuild of your markup.
Is it a framework or a lightweight library?It's a small, dependency-free library meant to be invisible and layered on top of HTML you already have, not a framework that dictates your markup.
How do I add it to a project?Install it via NPM, Bower, CDNJS, or download the compressed/uncompressed list.js file directly and drop it into your page.
Do I need any other libraries to use it?No, List.js has no dependencies; the project itself only depends on string-natural-compare internally for sorting.
Does it work on any list or table element?It works on lists, tables, and 'almost anything else,' as long as you use its simple templating system to mark up items for add/edit/remove operations.
Which browsers does it support?It supports Chrome, Safari, Firefox, and IE9 and above.
What can I search or filter with List.js?It supports regular search, fuzzy search, filtering by range, searching in a specific column, and showing a custom message when results are empty.
Can I add or remove items dynamically?Yes, its templating system lets you add, edit, and remove items from the list at runtime, as shown in its 'Add, get, remove' demo.
Does it support pagination?Yes, pagination is one of its core features, demonstrated in the official examples.
Creator
javve
Size
3.5 MB
Stars
11.2K
Age
15y
Commits · 90 Days