Skip to content

sergeyt/waitkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waitkey

NPM

Utility function to wait specified keypress from stdin

Installation

Install with npm:

$ npm install waitkey

Or add it to the "dependencies" section of your package.json file.

Example

var waitkey = require('waitkey');

waitkey('space', function() {
	// your callback bits
});

About

Utility function to wait specified keypress from stdin

Resources

License

Stars

Watchers

Forks

Packages

No packages published