{"id":17749448,"url":"https://github.com/oresoftware/prepend-transform","last_synced_at":"2025-04-01T18:30:53.700Z","repository":{"id":57329896,"uuid":"94941788","full_name":"ORESoftware/prepend-transform","owner":"ORESoftware","description":"Uses a Node.js transform stream to prepend the given string to the front of each line.","archived":false,"fork":false,"pushed_at":"2019-04-11T07:04:07.000Z","size":27,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-12T23:42:13.170Z","etag":null,"topics":["newline","nodejs","nodejs-stream","nodejs-streams","stderr","stdout","stream","transform-streams"],"latest_commit_sha":null,"homepage":"","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/ORESoftware.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-20T22:55:39.000Z","updated_at":"2022-09-07T18:27:17.000Z","dependencies_parsed_at":"2022-08-29T05:11:29.893Z","dependency_job_id":null,"html_url":"https://github.com/ORESoftware/prepend-transform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fprepend-transform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fprepend-transform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fprepend-transform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fprepend-transform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ORESoftware","download_url":"https://codeload.github.com/ORESoftware/prepend-transform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635945,"owners_count":20809331,"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":["newline","nodejs","nodejs-stream","nodejs-streams","stderr","stdout","stream","transform-streams"],"created_at":"2024-10-26T11:23:22.022Z","updated_at":"2025-04-01T18:30:53.439Z","avatar_url":"https://github.com/ORESoftware.png","language":"TypeScript","readme":"\n\u003cbr\u003e\n\n[![Version](https://img.shields.io/npm/v/prepend-transform.svg?colorB=green)](https://www.npmjs.com/package/prepend-transform)\n\n# Prepend-Transform\n\n\u003e\n\u003e  Prepend text to the beginning of each line in a stream.\n\u003e\n\n## Installation\n\n```bash\nnpm install -S prepend-transform\n```\n\n\n## Usage\n\n```javascript\n\nimport pt from 'prepend-transform';\nimport * as cp from 'child_process';\n\nconst n = cp.spawn('bash');\n\nn.stdout.pipe(pt('child stdout: ')).pipe(process.stdout);\nn.stderr.pipe(pt('child stderr: ')).pipe(process.stderr);\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Fprepend-transform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foresoftware%2Fprepend-transform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Fprepend-transform/lists"}