by harvesthq

harvesthq / harvey

Adding a second face to your application's JavaScript

439 Stars 39 Forks Last release: Not found Other 46 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Harvey lets you add a second face to your application's JavaScript. It has no dependencies and comes in at about 3k minified or 1k gzipped. Neat!

For documentation, usage, and examples, see: http://harvesthq.github.com/harvey

Browser Support

Thanks to its various fallbacks and polyfills Harvey works across all modern browsers (IE > 8) that support CSS media queries.


  • Harvey was inspired by Nicholas C. Zakas' article on the different problems with matchMedia http://www.nczonline.net/blog/2012/01/19/css-media-queries-in-javascript-part-2/

  • Harvey uses a variation of Paul Irish's matchMedia.js polyfill https://github.com/paulirish/matchMedia.js

Harvey Credits

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.