{"id":13659305,"url":"https://github.com/floatdrop/save-stream","last_synced_at":"2025-03-15T13:30:50.724Z","repository":{"id":20306351,"uuid":"23580185","full_name":"floatdrop/save-stream","owner":"floatdrop","description":"Save stream contents and pipe it again later","archived":false,"fork":false,"pushed_at":"2015-04-07T18:37:49.000Z","size":156,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T01:31:43.456Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/floatdrop.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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-09-02T13:42:54.000Z","updated_at":"2021-08-13T03:28:38.000Z","dependencies_parsed_at":"2022-08-30T23:31:25.319Z","dependency_job_id":null,"html_url":"https://github.com/floatdrop/save-stream","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fsave-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fsave-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fsave-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fsave-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floatdrop","download_url":"https://codeload.github.com/floatdrop/save-stream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243508146,"owners_count":20301960,"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-08-02T05:01:07.284Z","updated_at":"2025-03-15T13:30:50.339Z","avatar_url":"https://github.com/floatdrop.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# save-stream\n\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]\n\nSave stream contents and pipe it again later.\n\n## Usage\n\n```js\nvar save = require('save-stream');\n\nvar saved = save();\nsaved.write(1);\nsaved.write(2);\nsaved.write(3);\nsaved.write(4);\nsaved.end();\n\nsaved.load().pipe(console.log);\nsetTimeout(function () {\n    saved.load().pipe(console.log);\n}, 1000);\n\n/* Output:\n1\n2\n3\n4\n1\n2\n3\n4\n*/\n```\n\n## API\n\n### save()\n\nReturns pass through stream with additional method\n\n#### save.load()\n\nReturns pass through stream, that will emit all data from the begining.\n\n__Note__: it may change to `1.0.0` version, because initialy I wanted just overload `pipe` method.\n\n## License\n\nMIT (c) 2014 Vsevolod Strukchinsky\n\n[npm-url]: https://npmjs.org/package/save-stream\n[npm-image]: http://img.shields.io/npm/v/save-stream.svg?style=flat\n\n[travis-url]: http://travis-ci.org/floatdrop/save-stream\n[travis-image]: http://img.shields.io/travis/floatdrop/save-stream.svg?branch=master\u0026style=flat\n\n[depstat-url]: https://david-dm.org/floatdrop/save-stream\n[depstat-image]: http://img.shields.io/david/floatdrop/save-stream.svg?style=flat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fsave-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloatdrop%2Fsave-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fsave-stream/lists"}