{"id":15651420,"url":"https://github.com/juliangruber/node-pv","last_synced_at":"2025-04-30T19:48:18.842Z","repository":{"id":17676490,"uuid":"20481305","full_name":"juliangruber/node-pv","owner":"juliangruber","description":"A node.js implementation of the pv utility","archived":false,"fork":false,"pushed_at":"2017-08-08T05:21:47.000Z","size":16,"stargazers_count":33,"open_issues_count":8,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T10:34:41.960Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juliangruber.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-04T11:49:04.000Z","updated_at":"2024-03-15T07:15:44.000Z","dependencies_parsed_at":"2022-09-24T00:51:38.113Z","dependency_job_id":null,"html_url":"https://github.com/juliangruber/node-pv","commit_stats":{"total_commits":37,"total_committers":2,"mean_commits":18.5,"dds":"0.027027027027026973","last_synced_commit":"85a231b472d79c1e145cb36f1bc696315dd85e25"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliangruber%2Fnode-pv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliangruber%2Fnode-pv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliangruber%2Fnode-pv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliangruber%2Fnode-pv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juliangruber","download_url":"https://codeload.github.com/juliangruber/node-pv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251774037,"owners_count":21641719,"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":"2024-10-03T12:38:20.557Z","updated_at":"2025-04-30T19:48:18.822Z","avatar_url":"https://github.com/juliangruber.png","language":"JavaScript","readme":"\n# node-pv\n\n  A node.js implementation of the\n  [Pipe Viewer](http://www.ivarch.com/programs/pv.shtml) utility, useful for\n  inspecting a pipe's traffic.\n\n## Example\n\n```bash\n$ cat /dev/random | pv \u003e/dev/null\n18.88MB  00:00:02  [9.59MB/s]^C\n```\n\n## Usage\n\n  There's an excellent description on\n  [Peteris Krumins](https://github.com/pkrumins)'s blog:\n  [A Unix Utility You Should Know About: Pipe Viewer](http://www.catonmat.net/blog/unix-utilities-pipe-viewer/)\n\n```bash\n$ source | pv [OPTIONS] | dest\n\n$ pv [OPTIONS] \u003cFILE\u003e | dest\n```\n\n## Options\n\n  - `-s, --size SIZE`: Assume the total amount of data to be transferred is __SIZE__ bytes\n  - `-N, --name NAME`: Prefix the output information with __NAME__\n\n## Installation\n\n```bash\n$ npm install -g node-pv\n```\n\n## JS API\n\n```js\nvar PV = require('node-pv');\nvar pv = PV({\n  size: /* ... */,\n  name: /* ... */\n});\n\npv.on('info', function(str){\n  process.stderr.write(str);\n});\n\nprocess.stdin.pipe(pv).pipe(process.stdout);\n```\n\n## License\n\n  MIT\n\n","funding_links":[],"categories":["Tools"],"sub_categories":["React Components"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliangruber%2Fnode-pv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliangruber%2Fnode-pv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliangruber%2Fnode-pv/lists"}