From 7a9eab9d393b9950894c72425810bd186c690338 Mon Sep 17 00:00:00 2001 From: j-mendez Date: Sun, 3 Dec 2023 19:42:11 -0500 Subject: [PATCH] chore(docs): add simple events example --- book/src/simple.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/book/src/simple.md b/book/src/simple.md index 2b267d1..fb66fea 100644 --- a/book/src/simple.md +++ b/book/src/simple.md @@ -2,7 +2,7 @@ We use the node-addon to port the Rust project over with napi to target node.js. -There are some performance drawbacks from the addon, even still the crawls are lightning fast and performant. +There are some performance drawbacks from the addon, even still the crawls are lightning fast and efficient. ## Usage @@ -36,7 +36,6 @@ const onPageEvent = async (err: Error | null, page: NPage) => { links.push(page); }; -// params in order event, background, and headless chrome await website.crawl(onPageEvent); console.log(website.getLinks()); ```