Mousetrap is a JavaScript library for creating and managing keyboard shortcuts.

The library is standalone, has a very small footprint (1.6kb minified/gzipped) and works with all major browsers, even in IE6.

It works with single, multiple (combination) or with a sequence of keys. Also, we can listen to keypress, keydown or keyup events and decide to trigger any functions accordingly.

Mousetrap

WebResourcesDepot Feed