{"id":28684883,"url":"https://github.com/node-modules/speeds","last_synced_at":"2025-06-14T03:07:29.957Z","repository":{"id":14900106,"uuid":"17623962","full_name":"node-modules/speeds","owner":"node-modules","description":"Speeds controllable stream. You can control the downstream speed on your own.","archived":false,"fork":false,"pushed_at":"2023-01-09T18:40:33.000Z","size":35,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-07T00:47:25.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-modules.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-11T08:55:22.000Z","updated_at":"2023-07-12T08:18:28.000Z","dependencies_parsed_at":"2023-01-13T18:10:31.960Z","dependency_job_id":null,"html_url":"https://github.com/node-modules/speeds","commit_stats":null,"previous_names":["node-modules/speeds"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fspeeds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fspeeds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fspeeds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fspeeds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-modules","download_url":"https://codeload.github.com/node-modules/speeds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fspeeds/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259184738,"owners_count":22818266,"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":[],"created_at":"2025-06-14T03:07:27.712Z","updated_at":"2025-06-14T03:07:29.937Z","avatar_url":"https://github.com/node-modules.png","language":"JavaScript","readme":"speeds\n=======\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![npm download][download-image]][download-url]\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)\n\n[npm-image]: https://img.shields.io/npm/v/speeds.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/speeds\n[travis-image]: https://img.shields.io/travis/node-modules/speeds.svg?style=flat-square\n[travis-url]: https://travis-ci.org/node-modules/speeds\n[download-image]: https://img.shields.io/npm/dm/speeds.svg?style=flat-square\n[download-url]: https://npmjs.org/package/speeds\n\nSpeeds controllable stream.\n\nYou can control the downstream speed on your own.\n\n## Install\n\n```bash\n$ npm install speeds\n```\n\n## Usage\n\n```js\nvar speeds = require('speeds');\nvar fs = require('fs');\n\n// read data 1 byte per second\nvar total = 0;\nfs.createReadStream(__filename).pipe(speeds(1)).on('data', function (chunk) {\n  total += chunk.length;\n  console.log('%s %d/%d bytes', Date(), chunk.length, total);\n});\n```\n\n## License\n\n[MIT](LICENSE.txt)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fspeeds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-modules%2Fspeeds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fspeeds/lists"}