{"id":14971223,"url":"https://github.com/apify/apify-sdk-js","last_synced_at":"2026-02-19T11:03:37.161Z","repository":{"id":45335404,"uuid":"484394978","full_name":"apify/apify-sdk-js","owner":"apify","description":"Apify SDK monorepo","archived":false,"fork":false,"pushed_at":"2025-05-14T04:35:11.000Z","size":327605,"stargazers_count":138,"open_issues_count":23,"forks_count":46,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-14T06:06:09.259Z","etag":null,"topics":["actor","apify","javascript","nodejs","sdk","typescript"],"latest_commit_sha":null,"homepage":"https://docs.apify.com/sdk/js","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-22T10:40:07.000Z","updated_at":"2025-05-14T04:34:17.000Z","dependencies_parsed_at":"2023-02-19T16:16:15.007Z","dependency_job_id":"549ad61c-2edd-4f7c-832a-2eaa300cd82c","html_url":"https://github.com/apify/apify-sdk-js","commit_stats":{"total_commits":775,"total_committers":20,"mean_commits":38.75,"dds":0.5574193548387096,"last_synced_commit":"2409471cf2cbef1c1ccd3228a310f5ae3997f7ff"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-sdk-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-sdk-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-sdk-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-sdk-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apify","download_url":"https://codeload.github.com/apify/apify-sdk-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276447,"owners_count":22043867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actor","apify","javascript","nodejs","sdk","typescript"],"created_at":"2024-09-24T13:44:53.130Z","updated_at":"2026-02-19T11:03:37.144Z","avatar_url":"https://github.com/apify.png","language":"TypeScript","readme":"# Apify SDK\n\n[![npm version](https://badge.fury.io/js/apify.svg)](https://www.npmjs.com/package/apify)\n[![Downloads](https://img.shields.io/npm/dm/apify.svg)](https://www.npmjs.com/package/apify)\n[![Chat on discord](https://img.shields.io/discord/801163717915574323?label=discord)](https://discord.gg/jyEM2PRvMU)\n[![Build Status](https://github.com/apify/apify-sdk-js/actions/workflows/test-and-release.yaml/badge.svg?branch=master)](https://github.com/apify/apify-sdk-js/actions/workflows/test-and-release.yaml)\n\n## Quick Start\n\nThis short tutorial will set you up to start using Apify SDK in a minute or two.\nIf you want to learn more, proceed to the [Apify Platform](https://docs.apify.com/sdk/js/docs/guides/apify-platform)\nguide that will take you step by step through running your Actor on Apify's platform.\n\nApify SDK requires [Node.js](https://nodejs.org/en/) 16 or later. Add Apify SDK to any Node.js project by running:\n\n```bash\nnpm install apify\n```\n\nTo initialize your Actor and to stop it use the `Actor.init()` and `Actor.exit()` functions. You also may use `Actor.main()` function for cases with multiple crawlers in one context.\n\n```typescript\nimport { Actor } from 'apify';\n\nawait Actor.init();\n\nconst input = (await Actor.getInput()) ?? {};\nawait Actor.setValue('OUTPUT', {\n    message: 'Hello from Apify SDK!',\n    input,\n});\n\nawait Actor.exit();\n```\n\n\u003e You can also install the [`crawlee`](https://npmjs.org/crawlee) module, as it now provides the crawlers that were previously exported by Apify SDK. If you don't plan to use crawlers in your Actors, then you don't need to install it. Keep in mind that neither `playwright` nor `puppeteer` are bundled with `crawlee` in order to reduce install size and allow greater flexibility. That's why we manually install it with NPM. You can choose one, both, or neither. For more information and example please check [`documentation.`](https://docs.apify.com/sdk/js/docs/guides/apify-platform#running-crawlee-code-as-an-actor)\n\n## Support\n\nIf you find any bug or issue with the Apify SDK, please [submit an issue on GitHub](https://github.com/apify/apify-sdk-js/issues).\nFor questions, you can ask on [Stack Overflow](https://stackoverflow.com/questions/tagged/apify) or contact support@apify.com\n\n## Upgrading\n\nVisit the [Upgrading Guide](https://docs.apify.com/sdk/js/docs/upgrading) to find out what changes you might want to make, and, if you encounter any issues, join our [Discord server](https://discord.gg/jyEM2PRvMU) for help!\n\n## Contributing\n\nYour code contributions are welcome, and you'll be praised to eternity!\nIf you have any ideas for improvements, either submit an issue or create a pull request.\nFor contribution guidelines and the code of conduct,\nsee [CONTRIBUTING.md](https://github.com/apify/apify-sdk-js/blob/master/CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under the Apache License 2.0 -\nsee the [LICENSE.md](https://github.com/apify/apify-sdk-js/blob/master/LICENSE.md) file for details.\n\n## Acknowledgments\n\nMany thanks to [Chema Balsas](https://www.npmjs.com/~jbalsas) for giving up the `apify` package name\non NPM and renaming his project to [jsdocify](https://www.npmjs.com/package/jsdocify).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fapify-sdk-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapify%2Fapify-sdk-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fapify-sdk-js/lists"}