File: control

package info (click to toggle)
node-keypress 0.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 96 kB
  • sloc: javascript: 239; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 1,183 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Source: node-keypress
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Yadd <yadd@debian.org>
Build-Depends: debhelper-compat (= 13)
 , dh-sequence-nodejs
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/js-team/node-keypress
Vcs-Git: https://salsa.debian.org/js-team/node-keypress.git
Homepage: https://github.com/TooTallNate/keypress
Testsuite: autopkgtest-pkg-nodejs
Rules-Requires-Root: no

Package: node-keypress
Architecture: all
Depends: ${misc:Depends}
Multi-Arch: foreign
Description: Make any Node ReadableStream emit "keypress" events
 Previous to Node v0.8.x, there was an undocumented "keypress" event that
 process.stdin would emit when it was a TTY. Some people discovered this
 hidden gem, and started using it in their own code.
 .
 In Node v0.8.x (and above), this "keypress" event does not get emitted by
 default, but rather only when it is being used in conjunction with the
 readline (or by extension, the repl) module.
 .
 This module is the exact logic from the node pre-v0.8.x releases ripped out
 into its own module.
 .
 Bonus: Now with mouse support!