UNPKG
adbkit
Version:
latest (2.11.1)
2.11.1
2.11.0
2.10.0
2.9.2
2.9.1
2.9.0
2.8.1
2.8.0
2.7.2
2.7.1
2.7.0
2.6.2
2.6.1
2.6.0
2.5.1
2.5.0
2.4.1
2.4.0
2.3.1
2.3.0
2.2.2
2.2.1
2.2.0
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.17
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A pure Node.js client for the Android Debug Bridge.
github.com/CyberAgent/adbkit
CyberAgent/adbkit
adbkit
/
lib
/
adb
/
dump.js
16 lines
(13 loc)
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var
fs, out; fs =
require
(
'fs'
);
if
(process.
env
.
ADBKIT_DUMP
) { out = fs.
createWriteStream
(
'adbkit.dump'
);
module
.
exports
=
function
(
chunk
) { out.
write
(chunk);
return
chunk; }; }
else
{
module
.
exports
=
function
(
chunk
) {
return
chunk; }; }