kicodes


Project maintained by anujsinghwd Hosted on GitHub Pages — Theme by mattgraham

kicodes npm

Keyboard key values

Installation

npm install kicodes --save

Usage

var key = require('kicodes')

Example

    key.kicode('a');    // return 65
    key.kicode(65);     // return a
    key.kicode('enter'); // return 13
    key.kicode(32); // return space bar
    key.kicode('shift') // return 16
    key.kicode('close bracket'); //return 221