apify-projects / apify-extra-library

Advanced and experimental functionality for Apify Actors and Crawlee. Use with caution!
Apache License 2.0
10 stars 1 forks source link

Apify utilities

Why another repo when we already have great SDK and many examples? This repo contains either

How to use

Add this repository to your package.json:

{
    "dependencies": {
        // ...
        "apify-utils": "https://github.com/metalwarrior665/apify-utils.git#1.0.1"
    }
}

then access your desired module:

const { storage, browser } = require('apify-utils');

await storage.bufferDataset(await Apify.openDataset());
console.log(browser.userAgent());

Some tricks we provide

Versioning

This library don't follow semver, and new versions will follow Apify SDK versions.

License

Apache 2.0