Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Merge branch 'master' of https://github.com/Apifier/apifier-sdk-js

Jan Curn85ec4e3767c5
diff --cc src/index.js
index d2c0ed80f,fc5ea00dc..e5db6e823
--- a/src/index.js
+++ b/src/index.js
@@@ -1,13 -1,10 +1,14 @@@
-import _ from 'underscore';
-import Actor from './actor';
+import { setPromisesDependency, getPromisesDependency } from './utils';
+import { main, heyIAmReady } from './actor';
+const Apifier = {
+ main,
+ heyIAmReady,
+ setPromisesDependency,
+ getPromisesDependency,
+};
-const Apifier = {};
-_.extend(Apifier, Actor);
+
-// export this way so that we can import as:
+// export this way so the we can import using:
// const Apifier = require('apifier');
module.exports = Apifier;