Skip to content

Instantly share code, notes, and snippets.

@miguelitoVargas
miguelitoVargas / apifyIntro.js
Created August 30, 2019 17:02
Apify Hello World
/*
* Apify SDK — The scalable web crawling and scraping library for JavaScript/Node.js.
* Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.
* git ---> https://github.com/apifytech/apify-js
* API reference ----> https://sdk.apify.com/
* install ----> `npm i --save apify`
* run ---> node index.js
*/
/*
* By default apify uses project dir as data storage, this can be changed by setting env variable APIFY_LOCAL_STORAGE_DIR
/* eslint working config for react with vim
// https://eslint.org/docs/user-guide/configuring
// very good for tuning | checking
// https://jslint.com
// https://jslint.com/help.html
*/
module.exports = {
"extends": ["airbnb", "plugin:react/recommended"],
"env": {
"node": true,