UNPKG
cat
Version:
latest (0.2.0)
0.2.0
0.1.1
0.1.0
cat will read the contents of an url
github.com/mafintosh/cat
cat
/
example.js
5 lines
(3 loc)
•
137 B
JavaScript
View Raw
1
2
3
4
5
var
cat =
require
(
'./index'
);
cat
(__filename,
console
.
log
);
cat
(
'https://raw.github.com/mafintosh/cat/master/example.js'
,
console
.
log
);