{"id":20214985,"url":"https://github.com/betterstack-community/worker-threads-demo","last_synced_at":"2026-06-15T21:31:13.371Z","repository":{"id":227325012,"uuid":"768631475","full_name":"betterstack-community/worker-threads-demo","owner":"betterstack-community","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-21T08:28:45.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-09T15:23:12.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/betterstack-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-07T12:53:24.000Z","updated_at":"2024-03-20T17:13:17.000Z","dependencies_parsed_at":"2024-03-21T10:16:49.506Z","dependency_job_id":"785acdff-4d92-4e92-ad05-a32d8c9b4442","html_url":"https://github.com/betterstack-community/worker-threads-demo","commit_stats":null,"previous_names":["betterstack-community/worker-threads-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/betterstack-community/worker-threads-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterstack-community%2Fworker-threads-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterstack-community%2Fworker-threads-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterstack-community%2Fworker-threads-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterstack-community%2Fworker-threads-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betterstack-community","download_url":"https://codeload.github.com/betterstack-community/worker-threads-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betterstack-community%2Fworker-threads-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34381758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-14T06:19:08.446Z","updated_at":"2026-06-15T21:31:13.353Z","avatar_url":"https://github.com/betterstack-community.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Worker Threads Express App\n\nThis project demonstrates how to create a Node.js Express application using worker threads for non-blocking operations.\n\n**Tutorial**: [A Beginner's Guide to Node.js Worker Threads](https://betterstack.com/community/guides/scaling-nodejs/nodejs-workers-explained/)\n\n## 🟢 Prerequisites\n\nBefore running this application, ensure you have the following prerequisites:\n\n- Node.js installed on your machine.\n- Basic knowledge of JavaScript and Node.js.\n\n## 📦 Getting started\n\nTo set up and run the project, follow these steps:\n\n1. Clone the repository to your local machine:\n\n   ```bash\n   git clone https://github.com/betterstack-community/worker-threads-demo.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd worker-threads-express-app\n   ```\n\n3. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n4. Start the server:\n\n   ```bash\n   npm start\n   ```\n\n5. Open your web browser and navigate to `http://localhost:3000/non-blocking` to see the non-blocking endpoint in action.\n\n## ⚖ License\n\nThe code used in this project and in the linked tutorial are licensed under the [Apache License, Version 2.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetterstack-community%2Fworker-threads-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbetterstack-community%2Fworker-threads-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetterstack-community%2Fworker-threads-demo/lists"}