Module: index

Base module for active-keys. Default export is singleton instance of KeyWatcher.
Source:
Example
import keyWatcher from 'active-keys';
keyWatcher.addEventListener('change', () => {
  console.log(Object.keys(keyWatcher.activeKeys));
});

Classes

KeyWatcher