UNPKG
hihat
Version:
latest (2.6.4)
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.0
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.1
2.2.0
2.1.0
2.0.1
2.0.0
1.2.1
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
local Node/Browser development with Chrome DevTools
github.com/Jam3/hihat
Jam3/hihat
hihat
/
lib
/
prelude
/
node.js
7 lines
(5 loc)
•
197 B
JavaScript
View Raw
1
2
3
4
5
6
7
// patch process.argv to something more useful
process.
argv
=
require
(
'remote'
).
process
.
argv
// in REPL these will be undefined to mimic Node REPL
delete
global
.
__dirname
delete
global
.
__filename