A simple library for handling keyboard shortcuts in Javascript.

Single Key

It's possible to bind single keys to a task.

d and l keys toggle dark/light mode.

Combination

ctrl+shift+1 ctrl+shift+2 will toggle the buttons below.

Overriding Defaults

ctrl+a will add active class to the below items and will override default behaviour that selects all of the page.

ctrl+d will remove active class from the below items and will override default behaviour that adds the page as a bookmark.

  • Carrot cake
  • Marzipan cotton candy
  • Pie macaroon
  • Oat cake
  • Lemon drops
  • Cotton candy