DailyJS

List.js, _part_

Alex R. Young

Subscribe

@dailyjs

Facebook

Google+

libraries functional

List.js, _part_

Posted by Alex R. Young on .
Featured

libraries functional

List.js, _part_

Posted by Alex R. Young on .

List.js

List.js

Version 1.0 of List.js (GitHub: javve / list.js, Bower: javve/list.js, License: MIT) by Jonny Strömberg has been released. It's a small library for making tables searchable, sortable, and filterable. It also works on unordered lists and divs, and supports templating so you can style it fairly easily. It doesn't have any dependencies, and the API is straightforward JavaScript:

listObj.add({ name: 'Jonny', city: 'Stockholm' });

listObj.add([  
  { name: 'Gustaf', city: 'Sundsvall' }
, { name: 'Jonas', city: 'Berlin' }
]);

There are also plugins for List.js. The project includes tests and can be installed with Bower or Component.

The _part_ Library

_part_ (GitHub: AutoSponge / part, License: MIT) by Paul Grenier is a small library for making native methods available as partially applied functions.

In part, you use typical OO functions (like the ones in native prototypes) to create two functional counterparts, "left-part" and "right-part", which partially apply the receiver or parameters respectively.

While I was reading about this library I noticed the author has several other interesting posts on his blog: