{"id":17419852,"url":"https://github.com/bendrucker/value-pipe","last_synced_at":"2025-10-29T05:32:22.077Z","repository":{"id":35774022,"uuid":"40053733","full_name":"bendrucker/value-pipe","owner":"bendrucker","description":"Pipe a value through a list of synchronous transform functions","archived":false,"fork":false,"pushed_at":"2019-08-19T21:47:40.000Z","size":6,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T08:14:08.517Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bendrucker.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-01T17:01:31.000Z","updated_at":"2019-08-18T16:49:08.000Z","dependencies_parsed_at":"2022-08-17T21:35:24.652Z","dependency_job_id":null,"html_url":"https://github.com/bendrucker/value-pipe","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fvalue-pipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fvalue-pipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fvalue-pipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fvalue-pipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker","download_url":"https://codeload.github.com/bendrucker/value-pipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968920,"owners_count":21191162,"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-17T02:34:32.154Z","updated_at":"2025-10-29T05:32:22.005Z","avatar_url":"https://github.com/bendrucker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# value-pipe [![Build Status](https://travis-ci.org/bendrucker/value-pipe.svg?branch=master)](https://travis-ci.org/bendrucker/value-pipe) [![Greenkeeper badge](https://badges.greenkeeper.io/bendrucker/value-pipe.svg)](https://greenkeeper.io/)\n\n\u003e Pipe a value through a list of synchronous transform functions\n\n\n## Install\n\n```\n$ npm install --save value-pipe\n```\n\n\n## Usage\n\n```js\nvar pipe = require('value-pipe')\n\nvar mirrorAndUppercase = pipe(mirror, uppercase)\nmirrorAndUppercase('git')\n//=\u003e GITTIG\n\nfunction mirror (value) {\n  return value + value.split('').reverse().join('')\n}\n\nfunction uppercase (value) {\n  return value.toUpperCase()\n}\n\n```\n\n## API\n\n#### `pipe(functions...)` -\u003e `function`\n\n##### functions\n\n*Required*  \nType: `function` / `array[function]`\n\nA set of functions to use to transform the value. At least one is required. You can pass the functions as arguments or pass a single array of functions.\n\n\n## License\n\nMIT © [Ben Drucker](http://bendrucker.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fvalue-pipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendrucker%2Fvalue-pipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fvalue-pipe/lists"}