UNPKG

crawling

Version:

A simple crawler made in JavaScript for Node.

8 lines (6 loc) 167 B
import { crawlSite } from "./index.js"; const links = []; for await (const url of crawlSite("https://www.expressvpn.com")) { console.log(url); links.push(url); }