UNPKG
absoluter
Version:
latest (0.0.2)
0.0.2
0.0.1
Get html of website with absolute urls.
github.com/CodersBrothers/absoluter
CodersBrothers/absoluter
absoluter
/
example.js
9 lines
(8 loc)
•
198 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
var
absoluter =
require
(
'./absoluter'
);
absoluter
(
'https://www.facebook.com/'
) .
then
(
function
(
html
){
console
.
log
(html); }) .
fail
(
function
(
err
){
console
.
log
(err); });