UNPKG
node-hid-stream
Version:
latest (1.1.0)
1.1.0
1.0.0
0.0.3
0.0.2
0.0.1
Stream data from HID device in Node.js
agirorn/node-hid-stream
node-hid-stream
/
spec
/
helpers
/
fake-stream.js
13 lines
(9 loc)
•
182 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
;
const
{
Stream
} =
require
(
'stream'
);
class
FakeStream
extends
Stream
{
constructor
(
) {
super
();
this
.
close
=
() =>
{}; } }
module
.
exports
=
FakeStream
;