node-keypress

1.0.4 • Public • Published

node-keypress

When a user press a key of the keyboard, an event will be sended to you.

Installation

npm i node-keypress

Example

const { NodeKeyboard } = require("node-keypress")
const keyboard = new NodeKeyboard()

keyboard.onKeypress(function(key) {
    console.log(key)
})

Readme

Keywords

none

Package Sidebar

Install

npm i node-keypress

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

3.69 kB

Total Files

7

Last publish

Collaborators

  • blackdestinyxx