Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.
/ pourover Public archive
forked from nytimes/pourover

A library for simple, fast filtering and sorting of large collections in the browser.

License

Notifications You must be signed in to change notification settings

hhsnopek/pourover

 
 

Repository files navigation

Pourover

Join the chat at https://gitter.im/hhsnopek/pourover

PourOver is a library for simple, fast filtering and sorting of large collections -- think 100,000s of items -- in the browser. It allows you to build data-exploration apps and archives that run at 60fps, that don't have to to wait for a database call to render query results.

PourOver is built around the ideal of simple queries that can be arbitrarily composed with each other, without having to recalculate their results. You can union, intersect, and difference queries. PourOver will remember how your queries were constructed and can smartly update them when items are added or modified. You also get useful features like collections that buffer their information periodically, views that page and cache, fast sorting, and much, much more.

Visit the PourOver homepage on Github pages for more info.

Usage

Install through preferred package manager:

  • npm: npm install pourover
  • bower: bower install pourover
  • component: component install hhsnopek/pourover

Dependencies

Underscore.js is the only dependency. Optionally, you may use Lo-dash instead of underscore.

Then require pourover and underscore/lodash into your project script and you're all set!

Browser Support

PourOver should work in any browser that underscore works in. It has been tested in:

  • IE7+
  • Firefox 4+
  • Safari 5+
  • Opera 9+
  • Chrome 1+

Notice

This repo contains upstream changes that weren't verified by NYTimes developers. I attempted contact the original developers of PourOver for changes to be looked at or add myself or others as maintainers, but was unable to receive a response. There is an issue present in NYTimes/pourover that contains an open issue regarding this.

About

A library for simple, fast filtering and sorting of large collections in the browser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.3%
  • HTML 22.8%
  • CSS 2.9%