{"id":15894836,"url":"https://github.com/clayrisser/fastdash","last_synced_at":"2025-10-13T10:33:40.202Z","repository":{"id":57233213,"uuid":"177539640","full_name":"clayrisser/fastdash","owner":"clayrisser","description":"multithreaded utility functions for node using worker threads","archived":false,"fork":false,"pushed_at":"2023-07-12T10:49:52.000Z","size":690,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T19:08:27.328Z","etag":null,"topics":["async","asynchronous","fast","map","multithread","multithreaded","multithreading","quick","speedy","thread","threads","worker","worker-threads"],"latest_commit_sha":null,"homepage":"https://codejam.ninja","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clayrisser.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2019-03-25T07:53:39.000Z","updated_at":"2023-07-18T09:09:44.000Z","dependencies_parsed_at":"2024-10-28T03:59:53.786Z","dependency_job_id":"0a4d2e12-d791-4860-8e92-367828cba734","html_url":"https://github.com/clayrisser/fastdash","commit_stats":null,"previous_names":["codejamninja/fastdash"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Ffastdash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Ffastdash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Ffastdash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Ffastdash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clayrisser","download_url":"https://codeload.github.com/clayrisser/fastdash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246866743,"owners_count":20846618,"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":["async","asynchronous","fast","map","multithread","multithreaded","multithreading","quick","speedy","thread","threads","worker","worker-threads"],"created_at":"2024-10-06T08:42:01.008Z","updated_at":"2025-10-13T10:33:35.162Z","avatar_url":"https://github.com/clayrisser.png","language":"TypeScript","readme":"# fastdash\n\n![](assets/fastdash.png)\n\n[![GitHub stars](https://img.shields.io/github/stars/codejamninja/fastdash.svg?style=social\u0026label=Stars)](https://github.com/codejamninja/fastdash)\n\n\u003e multithreaded utility functions for node using worker threads\n\nPlease ★ this repo if you found it useful ★ ★ ★\n\n\n## Features\n\n* supports typescript\n* customize max threads\n\n\n## Benchmarks\n\n### map benchmarks\n\nThese benchmarks were performed on a server with 8 cores to show the\ncontrast between multithreaded and single threaded node processing.\n\nA function calculates prime numbers to simulate a workload.\n\n| `map()`  | CPU Intensive   | CPU Nonintensive |\n| -------- | --------------- | ---------------- |\n| fastdash | 2741.328177 ms  | 322.372878 ms    |\n| lodash   | 10367.716365 ms | 0.271168 ms      |\n\n`fastdash` is multithreaded and is faster than `lodash` for CPU intensive tasks.\n\n![Screenshot from 2019-03-26 03-26-49](https://user-images.githubusercontent.com/6234038/54982089-ea2c8700-4f77-11e9-869b-f75ac9ca7305.png)\n\n`lodash` is single threaded and is slower than `fastdash` for CPU intensive tasks.\n\n![Screenshot from 2019-03-26 03-28-00](https://user-images.githubusercontent.com/6234038/54982097-f1ec2b80-4f77-11e9-92ad-2c54482ba1a1.png)\n\n`lodash` is faster than `fastdash` for tasks that are not CPU intensive.\n\n\n## Installation\n\n```sh\nnpm install --save fastdash\n```\n\n\n## Dependencies\n\n* [NodeJS](https://nodejs.org)\n\n\n## Usage\n\nIteratee callback functions must be pure functions\n\n### map\n\n```js\nimport fast from 'fastdash';\n\nasync main() {\n  const result = await fast.map([1, 2, 3], item =\u003e {\n    return item + 1;\n  });\n  console.log(result); // [2, 3, 4]\n}\n\nmain();\n```\n\n\n## Support\n\nSubmit an [issue](https://github.com/codejamninja/fastdash/issues/new)\n\n\n## Screenshots\n\n[Contribute](https://github.com/codejamninja/fastdash/blob/master/CONTRIBUTING.md) a screenshot\n\n\n## Contributing\n\nReview the [guidelines for contributing](https://github.com/codejamninja/fastdash/blob/master/CONTRIBUTING.md)\n\n\n## License\n\n[MIT License](https://github.com/codejamninja/fastdash/blob/master/LICENSE)\n\n[Jam Risser](https://codejam.ninja) © 2019\n\n\n## Changelog\n\nReview the [changelog](https://github.com/codejamninja/fastdash/blob/master/CHANGELOG.md)\n\n\n## Credits\n\n* [Jam Risser](https://codejam.ninja) - Author\n\n\n## Support on Liberapay\n\nA ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.\n\n[Add some fuel](https://liberapay.com/codejamninja/donate) if you'd like to keep me going!\n\n[![Liberapay receiving](https://img.shields.io/liberapay/receives/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)\n[![Liberapay patrons](https://img.shields.io/liberapay/patrons/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)\n","funding_links":["https://liberapay.com/codejamninja/donate"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclayrisser%2Ffastdash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclayrisser%2Ffastdash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclayrisser%2Ffastdash/lists"}