UNPKG
crawling
Version:
latest (1.0.1)
1.0.1
1.0.0
A simple crawler made in JavaScript for Node.
github.com/lgrachov/crawling
lgrachov/crawling
crawling
/
test.js
8 lines
(6 loc)
•
167 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
{ crawlSite } from
"./index.js"
;
const
links = [];
for
await
(
const
url of crawlSite(
"https://www.expressvpn.com"
))
{ console.
log
(url); links.
push
(url); }