{"id":21131347,"url":"https://github.com/jrop/subpipe","last_synced_at":"2025-03-14T12:23:19.813Z","repository":{"id":57373962,"uuid":"54733907","full_name":"jrop/subpipe","owner":"jrop","description":"reuse gulp pipes with ease!","archived":false,"fork":false,"pushed_at":"2017-09-01T17:26:44.000Z","size":6,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T10:49:06.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/subpipe","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/jrop.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":"2016-03-25T17:07:00.000Z","updated_at":"2016-03-25T22:12:33.000Z","dependencies_parsed_at":"2022-09-17T16:00:59.719Z","dependency_job_id":null,"html_url":"https://github.com/jrop/subpipe","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/jrop%2Fsubpipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrop%2Fsubpipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrop%2Fsubpipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrop%2Fsubpipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrop","download_url":"https://codeload.github.com/jrop/subpipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243574075,"owners_count":20312992,"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-11-20T05:54:50.324Z","updated_at":"2025-03-14T12:23:19.787Z","avatar_url":"https://github.com/jrop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"subpipe\n=======\n\nA utility for creating reusable sub-pipes, designed especially for use with Gulp.\n\n## Installation\n\n```sh\nnpm install --save-dev subpipe\n```\n\n## Use\n\n```js\nvar subpipe = require('subpipe')\nfunction processJavascript() {\n\treturn subpipe(function pipeCreator() {\n\t\t//\n\t\t// Create the pipeline: note that the following\n\t\t// `return` is absolutely necessary:\n\t\t//\n\t\treturn this.pipe(babel())\n\t\t\t.pipe(uglify())\n\t})\n}\n\ngulp.task('js', function () {\n\treturn gulp.src('**/*.js')\n\t\t.pipe(processJavascript())\n})\n```\n\nOr if you are using a lambda:\n\n```js\nsubpipe(_ =\u003e _\n\t.pipe(babel())\n\t.pipe(uglify()))\n// =\u003e creates a new stream you can pipe to\n```\n\n## License\n\nISC License (ISC)\nCopyright (c) 2016, Jonathan Apodaca \u003cjrapodaca@gmail.com\u003e\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrop%2Fsubpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrop%2Fsubpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrop%2Fsubpipe/lists"}