Skip to content

spasdk/keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keyboard keys codes

build status npm version dependencies status devDependencies status Gitter

Generated by keyboards key codes used in SPA applications.

Installation

npm install spa-keys

Usage

Add to the scope:

var keys = require('spa-keys');

In some event handler:

if ( event.code === keys.enter ) {
    /* ... */
}

Contribution

If you have any problems or suggestions please open an issue according to the contribution rules.

License

spa-keys is released under the MIT License.

About

Keyboard keys codes.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •