{"_id":"pipe-ts","_rev":"11-86078451ad0acdff6eb36a7d5fc24a54","name":"pipe-ts","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"pipe-ts","version":"0.0.1","_id":"pipe-ts@0.0.1","maintainers":[{"name":"unsplash","email":"dev@unsplash.com"}],"homepage":"https://github.com/unsplash/pipe-ts#readme","bugs":{"url":"https://github.com/unsplash/pipe-ts/issues"},"dist":{"shasum":"08a8d3cce56ea2fe982a7ae6ad0dbe1834409124","tarball":"https://registry.npmjs.org/pipe-ts/-/pipe-ts-0.0.1.tgz","fileCount":8,"integrity":"sha512-89/1F/Z2w5+onZ48r2mjMINyXIIpvDha0nXkZqn0UwrGv5RQZDactIPFfMQ0Co/LTlCTlAVtsejbP05IHTDMgQ==","signatures":[{"sig":"MEQCIBI2xjXVmaQ2pS/E9cUNOTzzous2c2X0wpNfFhR2W/luAiB66Qob6fnHR2Fl8as6vh3TFWdeh2RnU6orUsy9d6vtdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFfy3CRA9TVsSAnZWagAAdVIP/2DyePcF+cpTtryALiYw\ni42hyR0mTUMOB1+z+ZYurZLez5SqJxUIGoxrfEplSb//9kf8466FSWvMkHud\nnRkfZ9Ps1PeJL79XynBrxVmyFC8HgYvD7N8n2CNkQPxw1Sh4q1SQ+gPRWldW\n8McbSINp6oNNMM8aUHc51llDyBJk1WuK2RjNl8ykqVLzVueO1SZxSelWLjhA\nurC49r/wdeutwCKe6FTaGxU8bilbBCFlRf8SpF2gZuzcIthuc9VVnUYYXEgH\n4m7gQ/tzsa7mQPlCsCtUMWFf/rOcyWfOiDuozRDHxhfEEbF866Q3oj/B874x\nc5hAE2qT1Rq3eQBtd91BmOxifnyFhhPJ9nnL2mYrip89UX/H6La19kH7AWf4\nxf3DdfX9hm3E7xZlahq20f6RtCBnRkLFtSDk2XnRopKqgWjVBfhLQKqA6SKM\nyDAMxBmSjS1gDkNnwYA8XMFY45U9dfN7Jw55UxZcVL0Ikse5lTMrIj8KMrpI\nL/KYLYLDSHLc93Ygel+t8RQjdDD4A4wL89a80qZ+1d2HVESQF8k+vn4MibOS\nrnk04VeEn50Tx6WE8yJfFXpYGTvWVSFfMuBkoLjqJUt2sASlGUm5dIBUqizH\ndPUS1sM3TJMnfKRdU/IZtYRoa1noXOwXOrY28G41991PSemZpkma7Cd3YVlX\nZ059\r\n=nk57\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./target/index.js","gitHead":"d8365f194de1a8b651a3ee12f92601840d88a63d","scripts":{"lint":"tslint --project ./tsconfig.json","test":"npm run compile && node --require source-map-support/register ./target/tests.js","format":"prettier --write './**/*.{ts,tsx,js,json,md}' '.prettierrc'","compile":"rm -rf ./target/ && tsc","prepublishOnly":"npm run test && npm run lint && npm run compile"},"typings":"./target/index.d.ts","_npmUser":{"name":"unsplash","email":"dev@unsplash.com"},"repository":{"url":"git+https://github.com/unsplash/pipe-ts.git","type":"git"},"_npmVersion":"6.9.0","description":"Overloads to supports up to 9 functions.","directories":{},"_nodeVersion":"8.15.1","dependencies":{"@types/node":"^12.0.10"},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.18.0","prettier":"^1.18.2","typescript":"^3.5.2","tslint-no-unused":"^0.2.0-alpha.1","source-map-support":"^0.5.12","tslint-language-service":"^0.9.9"},"_npmOperationalInternal":{"tmp":"tmp/pipe-ts_0.0.1_1561722039004_0.8714166907968557","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"pipe-ts","version":"0.0.2","_id":"pipe-ts@0.0.2","maintainers":[{"name":"unsplash","email":"dev@unsplash.com"}],"homepage":"https://github.com/unsplash/pipe-ts#readme","bugs":{"url":"https://github.com/unsplash/pipe-ts/issues"},"dist":{"shasum":"cf97f30a33f454d28f761d4ddf17df3588777988","tarball":"https://registry.npmjs.org/pipe-ts/-/pipe-ts-0.0.2.tgz","fileCount":8,"integrity":"sha512-bpquxXOwLPwbH0XHusohN2voQlxqpVjhUaiCiWcnIYLhFKn0emhthnaE/VSJdQHRLHVIU8zwq0+nYae9+E6irQ==","signatures":[{"sig":"MEQCIFzMVy0D7XeO8+qKLwluo91mn7x3wbjx0ZYkC5x9DcQZAiBQFaDArywYFvIc5Zk/DJvvBiob7iRdUsjtzfqYpvhGSA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFgKpCRA9TVsSAnZWagAAkuwQAJYFODMGGQyLWqF0Uhsm\nLASgyghdfVqWugaQobPt3Rth5rm4jDzp+zzsVu8U6xJqvRDCjSBt0Ssra4Xa\nbpVhVS/w8xMxs0Rb7/FJMSFOTo0AmGE7aCb7xa30WerM/hSiA4FiMcGwFdfq\n2v/6DGuVTtgnUVbCjiYdoWzt2zD67ZWQ7KaojHo29PL/rjmwaeL3cB6lCeOI\nTRMsnAjcFm9f8PBvEAlwRKCN88HKwshvVGTE5qFNJEZsvcC36yX//j0Wlz6w\nIJy840rPFhwMIHHY2pe8rtoJvJb7OhnLAMs0RV/AItIbFLhya1y3oYLLFjkZ\n/DmUvdWOub9uI8IZZfvbAPUYKDlRGvfR2N+2IDvVIswD03E6ygSz4JyFd9yh\nBydCTVS8UdA8F7APaIvfAuAXMiIUPTfsROi/qV1ysMzLghLSAuSMTMbC2uuT\nAEisNJNVn8PMSvI8AetzJQFRtkD+dkbx4AbhQ2/+T41JIhWJRQsbHtyfmJQn\nZ7D1jkFhsa+hIN8ZNaefZfcVlBJgCh/8iherjnFNvA9ImkJ0IgQvyI9scU6E\n5PAHZYLRCsiff1Ddjp/etP/UegyA39ENH/xsp8MQC58RtZVeVjX671w5uIck\nTA9JNBDnuhTprzhcCU+JkjdqsRh2KINJd2zxRRG7HM6aI82MvnjmgFsJPzn1\nEY1V\r\n=M7oC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./target/index.js","gitHead":"ea294a610cf7197bf2649c777e65d534b5bc5bc3","scripts":{"lint":"tslint --project ./tsconfig.json","test":"npm run compile && node --require source-map-support/register ./target/tests.js","format":"prettier --write './**/*.{ts,tsx,js,json,md}' '.prettierrc'","compile":"rm -rf ./target/ && tsc","prepublishOnly":"npm run test && npm run lint && npm run compile"},"typings":"./target/index.d.ts","_npmUser":{"name":"unsplash","email":"dev@unsplash.com"},"repository":{"url":"git+https://github.com/unsplash/pipe-ts.git","type":"git"},"_npmVersion":"6.9.0","description":"[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)","directories":{},"_nodeVersion":"8.15.1","dependencies":{"@types/node":"^12.0.10"},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.18.0","prettier":"^1.18.2","typescript":"^3.5.2","tslint-no-unused":"^0.2.0-alpha.1","source-map-support":"^0.5.12","tslint-language-service":"^0.9.9"},"_npmOperationalInternal":{"tmp":"tmp/pipe-ts_0.0.2_1561723560581_0.5578930431968807","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"pipe-ts","version":"0.0.3","keywords":["typescript","ts","pipe","functional","fp"],"_id":"pipe-ts@0.0.3","maintainers":[{"name":"unsplash","email":"dev@unsplash.com"}],"dist":{"shasum":"252b360970384906b6847ea15f2d133531f46602","tarball":"https://registry.npmjs.org/pipe-ts/-/pipe-ts-0.0.3.tgz","fileCount":10,"integrity":"sha512-nifS9Vrj4G3rHVCKrwLUw6O2IkOyCmDS0h62zay7lXbAkDiWyXt79WN6SEXTBgchF0NtJPfg1182ixd9+Dau/g==","signatures":[{"sig":"MEQCIDEPTgPULehGomXMiQqlQO/lE44cltoxSqwwQfY4faiTAiBrK07prQxj5m9upY9ZfLXVKjdVV3V62dwGrIF/C8YEBg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFn6nCRA9TVsSAnZWagAADcYQAIZLjPYYnY1FzHt0axSK\nysw0mfQz+bzG/WU57SjeL49a6hxhw7iif8E0a+fNBjD4b9XHzcpOVaUeP7vT\nqfI8iCbuprUROb3CowOFM66hGmbN9stz0H7Sx+WcLdK1n61/G37hSK2yRqC/\noGDVkVkFwUCuUwFcOVqJgre0yybFUi84cy+xU70rf5x3rwUPMizfu97DaOfd\n5nD+t53AKlsJ64DVOL+HFLZWhau368K/swLAVU4nV6jU03rIbPXIs+gNjq0p\n9pfeH7RWe2GIiO0n9yWt6/JDpmgcblmEzMtRJKb1Q2TqSva3FQ8SKz1ZKP05\ndrWImr3jdRZCNuS9oS3yKVOUTrA4lsDcNGW0q3xz3On9nHUhYuMPSW2ZdHnH\nntWULG9f8juoF5Q5VrauGh/Q2MSAJMb+IBhohT3fP+7OtCBARWqFGyrkFrki\nDtPwSyMRJ6isd5X5KWOsNP+SGQZLqdpvhb4/g5vdZnzlbllxzjDWfuOl+4vE\ncsbN2fRPOwuS6hhMq1IC5sSQlzknBffUdwwMOmSF1aO29ZBzJoYmhoY/JGHl\nS7n1jKO3/xLtQ1NQDWzmYtkZKitI8YYs7Cpj52Db6/jQNXq9YhCVeOqywdHq\n3s4z7fBaVf3DrvR1u/2tOfZ7vQmFHOK4QySJulBPPGvT1VeUulgXCtPVqJr7\ntl9H\r\n=RxrH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./target/index.js","scripts":{"lint":"tslint --project ./tsconfig.json","test":"npm run compile && node --require source-map-support/register ./target/tests.js","format":"prettier --write './**/*.{ts,tsx,js,json,md}' '.prettierrc'","compile":"rm -rf ./target/ && tsc","prepublishOnly":"npm run test && npm run lint && npm run compile"},"typings":"./target/index.d.ts","_npmUser":{"name":"unsplash","email":"dev@unsplash.com"},"repository":{"url":"https://github.com/unsplash/pipe-ts.git","type":"git"},"description":"[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)","directories":{},"dependencies":{"@types/node":"^12.0.10"},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.18.0","prettier":"^1.18.2","typescript":"^3.5.2","tslint-no-unused":"^0.2.0-alpha.1","source-map-support":"^0.5.12","tslint-language-service":"^0.9.9"},"_npmOperationalInternal":{"tmp":"tmp/pipe-ts_0.0.3_1561755303138_0.9041510769663639","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"pipe-ts","version":"0.0.4","keywords":["typescript","ts","pipe","functional","fp"],"_id":"pipe-ts@0.0.4","maintainers":[{"name":"unsplash","email":"dev@unsplash.com"}],"dist":{"shasum":"572c9a6a234a45ec2c56aaf128f0677eb87709d7","tarball":"https://registry.npmjs.org/pipe-ts/-/pipe-ts-0.0.4.tgz","fileCount":10,"integrity":"sha512-opXvzNpmv5PsD6+m+0paJq7M0jLxshakjGs3wsnabSjwFbqWd3dyXDQjqAip7C6+LIIz3juFrV/pYotJOSI/yA==","signatures":[{"sig":"MEUCIQCk1EKBJJHLQFo+ShiiLjdrpJFJtcKysppfhsFZlO3cMAIgGD0JrGEadGgmVOzPOynNR1b/GGvnjguDjRU7dg9ZFMo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH1RjCRA9TVsSAnZWagAA+rkP/2wOIMmjm1uwO9VS+WXo\n1rzcd2mGKIeQwmgLfcbkGxVgtmbGyFcDaM8TJAyCGmclPRdMDMqu31Gb3q1a\nbQB2U+xOZJMQb9/Dd/5bVe+nXK3sAP1esvBdyHstk08GKbF5hUl2VbNHUOGh\nPcH80quDTB2XFzLVmyxOwzLU1AqyTutT7/ryk6AmUUJKDZ+n+XrZO2/sewFJ\nMuFr+RUnqyUBhBTmHsWZr9Tn0BVCWAoOQir6YG1Kkmdn49yyJJ/JRV3aSzep\nD6EPDQfLe+wtBq3RYoFEWSOI7hZUsF8kGttklzIbwEqkaXkGaVEeWBuESJ3t\nrPyOqSOg1f4YMU9FTUJza2X96nUTfXNfeDip3cStrUGWNpv98dbylgSCPbhl\n+8XOsP1+lTdu3sFFeHoEGeK9MbcoVs1w1u9/bntsN9NVKJuR9TvjLzUSmmHG\n0UagKgya7ofLV6qmGtZtpA1km007bboHpx4j+i+9IKKUyHf8e3fJ+W2dizzD\nFbLqpz5EoASiZzTya0izdX7OPwF4QhPY7Jj7pQlLAybEyCIPjLB7uD4MvDdx\n/9bvGaF55YGXkJby9zlHvevZmbvZJpkzvOAlFwNroholfkAjgxBqFndmZA5m\nszx4mCHwRsvPtSf83pYkWT8LgI7bhQXsyhZJ4b16RpZQ7/JieBqk3+cpOZOw\nrfzf\r\n=THQo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./target/index.js","scripts":{"lint":"tslint --project ./tsconfig.json","test":"npm run compile && node --require source-map-support/register ./target/tests.js","format":"prettier --write './**/*.{ts,tsx,js,json,md}' '.prettierrc'","compile":"rm -rf ./target/ && tsc","prepublishOnly":"npm run test && npm run lint && npm run compile"},"typings":"./target/index.d.ts","_npmUser":{"name":"unsplash","email":"dev@unsplash.com"},"repository":{"url":"https://github.com/unsplash/pipe-ts.git","type":"git"},"description":"[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.18.0","prettier":"^1.18.2","typescript":"^3.5.2","@types/node":"^12.0.10","tslint-no-unused":"^0.2.0-alpha.1","source-map-support":"^0.5.12","tslint-language-service":"^0.9.9"},"_npmOperationalInternal":{"tmp":"tmp/pipe-ts_0.0.4_1562334306978_0.7734095922203947","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"pipe-ts","version":"0.0.5","keywords":["typescript","ts","pipe","functional","fp"],"_id":"pipe-ts@0.0.5","maintainers":[{"name":"unsplash","email":"dev@unsplash.com"}],"dist":{"shasum":"705512d7259e57116e63a621839e1722d90ff87d","tarball":"https://registry.npmjs.org/pipe-ts/-/pipe-ts-0.0.5.tgz","fileCount":10,"integrity":"sha512-WxENmE2vYyMoSPCtwsx/N52OQx+76gx7YW0bNz6HvQk8gEgCSShE+4lxuo+ndBcakLCEbW7JsNoLpjqvyYCZCA==","signatures":[{"sig":"MEUCIBIWM/AsdFm+mZe3K30/obzKQuP4VqGSuF0rorkcZfTBAiEAhgtSeVv5kVDfxaKITaVldOn8z6AABjst8a2sZWWaxp4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH1zmCRA9TVsSAnZWagAAghUP/0etZ5qp224L0dIKejZw\npQIA0P129FhZk6Bcg7ZCEQj4bBeEPJ4N2JdHJgm19cseJHJVfsewwd+JIN2Y\nNWbD5ShMpp2OKz6b6N/G7OpQLPnJwod5nmT3XTaDHS+k+H43Ig2dT/u5fqTY\n/5KAQa4gFRMxzXQOpszJr6mS8hpdxHmbWGhrNKNKYNlkSTgIXRu4J1NC5hxl\nU6Nfl2Upd5uoJobNFj5RPLD8WJE46GAclPGNleOMV9Wd6h6djEhy/ntv4eKZ\nSA6BrKE/mbQsRpR+9dpWwWlOi9vOyoNhsB2z6xSBTuiiJTvlCOy0KOX3z1C7\nbRF69VSKsBrhr1Fdhq0QNlQC1K8jnGUP+1N6cvrOggywDowc4tq+zlFr/YRZ\nYZgCccNuaWr35oV7uFfu6jxhCiNtXd6gpegXCLDS+uNKt43+9TKg5AbxmU1z\nVMJpemx1zEX/He1EMHQ8uNSxF5K4UXxW9bHuab+rL+ym9EwEZ1mhYSB+njsM\nRhsJxGudHbJtISF4u7lkJNBiOG1g0fITtNjn0FwnsCOaZYs+pkNM4iHhoytU\neqn8EvshV54ZeXO2p57G37IDAio544Zz4c0+3xxgFGrsHf/qhLCC8ZtYS9Vs\nZQHyX9DWgoN717cQlswRkTONNKrJCWoyx64Eh2qRdIZHfFzpiQrqW9Nu/SBb\n4oI5\r\n=lEXU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./target/index.js","scripts":{"lint":"tslint --project ./tsconfig.json","test":"npm run compile && node --require source-map-support/register ./target/tests.js","format":"prettier --write './**/*.{ts,tsx,js,json,md}' '.prettierrc'","compile":"rm -rf ./target/ && tsc","prepublishOnly":"npm run test && npm run lint && npm run compile"},"typings":"./target/index.d.ts","_npmUser":{"name":"unsplash","email":"dev@unsplash.com"},"repository":{"url":"https://github.com/unsplash/pipe-ts.git","type":"git"},"description":"[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.18.0","prettier":"^1.18.2","typescript":"^3.5.2","@types/node":"^12.0.10","tslint-no-unused":"^0.2.0-alpha.1","source-map-support":"^0.5.12","tslint-language-service":"^0.9.9"},"_npmOperationalInternal":{"tmp":"tmp/pipe-ts_0.0.5_1562336485963_0.10751719050530162","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"pipe-ts","version":"0.0.6","keywords":["typescript","ts","pipe","functional","fp"],"_id":"pipe-ts@0.0.6","maintainers":[{"name":"unsplash","email":"dev@unsplash.com"}],"dist":{"shasum":"054af88a5daa17a4bddde9bdabb3ee95b466d821","tarball":"https://registry.npmjs.org/pipe-ts/-/pipe-ts-0.0.6.tgz","fileCount":10,"integrity":"sha512-QfzlBUJ2cV5dxLvzLkw7UarxB3E06uIpPOMmE3wKu7nSYcwc6KWCuOF4VmyOd548JBi3iOodp5dlNJclG8Ia5Q==","signatures":[{"sig":"MEUCIAEGVlj7ohvwA330Lm2A3EewxqaIV+V9d+ixDIH/3GKqAiEAj5mMqZ3O3fnATWoHhYClInd0qwHFQTOTOOlIr/O8fkU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH7/hCRA9TVsSAnZWagAA9aoP/iLiaYrlly13jqAmx7cA\nnJIaBT8Gr9agM/k2XMCQVBTrona25a1shdFtIy0SUjgFWuCI0MURb9yObHLl\nzyMHo9pXocKoDck2wqJNg4kf+A/L3L8unXH0qF7xCQB5UW3TgH1aZWSmTk1I\naQfaAaLZTn9pLlwD1lcxmZ8fP0H+41zEv1Sp9GnbvvqDC+SYGuYMm/l8gHp6\nxNfzd18dfKh53h4JMHmkPiz9tTxaJr4B+LitJWd7cGcxPwCfnnZVaaYydPcL\nlaRu6VGuLD/C/KDqqx/vcQG075LygzDhiQvLstXEE10syQ3DDCLPByWVrEIF\nqD/+8UXQs1zhmj5rkXpTggxwriqXma0kMUTZSfobBS02y7qhhVfou7vT7DcM\nKbD+2Vp7eB1Hq1ROgshuk6ETbYwF2KIzi8pdYV2c/4l8W3cWmN6V73h4kEO0\nfiy71E1BC6gZNQmX8RgIZTYvyJpGqncSzsjf6xZL+LoKw5AA00040tA2mzeS\n17ZY1obJA1iuspcGQB6nNk3IGJT/FnByJr9fQNVaEMOBEuEZT/HdS83ttkHv\nYo8PILauFn/pKWWfdlef37MJDAZDOLpBkj/MhILQoXppqv6YnDiZeYEAt5Qa\noTAi738rJ1qqgDuzuJqQhvfPSscEZCZtMp7315B1tnB4cB7P83OdaRQDaYxI\nTp3e\r\n=g+7Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./target/index.js","scripts":{"lint":"tslint --project ./tsconfig.json","test":"npm run compile && node --require source-map-support/register ./target/tests.js","format":"prettier --write './**/*.{ts,tsx,js,json,md}' '.prettierrc'","compile":"rm -rf ./target/ && tsc","prepublishOnly":"npm run test && npm run lint && npm run compile"},"typings":"./target/index.d.ts","_npmUser":{"name":"unsplash","email":"dev@unsplash.com"},"repository":{"url":"https://github.com/unsplash/pipe-ts.git","type":"git"},"description":"[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.18.0","prettier":"^1.18.2","typescript":"^3.5.2","@types/node":"^12.0.10","tslint-no-unused":"^0.2.0-alpha.1","source-map-support":"^0.5.12","tslint-language-service":"^0.9.9"},"_npmOperationalInternal":{"tmp":"tmp/pipe-ts_0.0.6_1562361824773_0.36518933229465067","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"pipe-ts","version":"0.0.7","keywords":["typescript","ts","pipe","functional","fp"],"_id":"pipe-ts@0.0.7","maintainers":[{"name":"unsplash","email":"dev@unsplash.com"}],"dist":{"shasum":"c90fc08b6fe64671c41ffa0a85f7e0917cb41bad","tarball":"https://registry.npmjs.org/pipe-ts/-/pipe-ts-0.0.7.tgz","fileCount":10,"integrity":"sha512-mNW5FuZs2XKcXrPjlxMPIRw4lKm1NXJyzg2HU/1O6TAgEuWKSfiKpejMH6Z8LLeTyewto2CqEJSke2blbXXx9w==","signatures":[{"sig":"MEYCIQDi/SQcVGQEUOnXczVo7/8Bc0g5uz/2vBhp8JlXXZgtVQIhAOgBclixkqSTrvzbmEys8vc/gqTFzvfQ0nbsPiYaJLWa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIxCMCRA9TVsSAnZWagAA4aQP/1v5RsIjfLYDlMK/eu7f\ngy76MmLY/MkpXtHWphGmGF2/HHrzNPoFPJRoGv4g14W6KSVCv+f9TjD3Hji5\n1eBgvngFSYLRICr8Q1r4zHB51PWfKBwwEdtylY4bClSTs/e5TvXyVN1gxBde\nPhweQycv1A+8WMFnQXSSzunUxieu2JqrDSfQNzBjjFneJ5JZrPZukOkdTKE7\nCDMPp1bp9VGw76VJci3Lz4RlD5fuAPNUgBJIeW9yun9yZc6vwfKHMTv5U4jr\nIU+A6PlFH7hMISyoOQLRhTNovTbABl5Ay9cxH094BEVUuEuW+xAUIGXKDKIs\n2hDlTyrw6fV0m3tq1C8lmfcM0jS7xu3O30VVd3XoPJ0CrVjGgX4Hvtl+ecyb\njbU4XwND2Sxj4yaZb1GEzswIPRBfGP+hiDn7ugwmoGB50fM3uGiuRYrMsBJD\n8AjpPwaLKj4utMaiCB+bbvCOsc0hYdi9cuVT09P3wvW5Vm11DW8/gJ+fFsDS\n66EFUxJUesezHQBumDaiIE3iH5gx8sYTrGJUukhoLQmsYoTcmSz01NCJrmxf\njWoZv7DIzbnq2U6TLJ8VSsD1U1acEqCPmR/HsuS9Zap99PbAFfP69/CaifKS\nTSKuY+KNjOKOir3rUVCJPkQSlPVXLa6MStA42q4IauZnkRmcl8uuh5QtQU3/\nndVr\r\n=rUFy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./target/index.js","scripts":{"lint":"tslint --project ./tsconfig.json","test":"npm run compile && node --require source-map-support/register ./target/tests.js","format":"prettier --write './**/*.{ts,tsx,js,json,md}' '.prettierrc'","compile":"rm -rf ./target/ && tsc","prepublishOnly":"npm run test && npm run lint && npm run compile"},"typings":"./target/index.d.ts","_npmUser":{"name":"unsplash","email":"dev@unsplash.com"},"repository":{"url":"https://github.com/unsplash/pipe-ts.git","type":"git"},"description":"[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.18.0","prettier":"^1.18.2","typescript":"^3.5.2","@types/node":"^12.0.10","tslint-no-unused":"^0.2.0-alpha.1","source-map-support":"^0.5.12","tslint-language-service":"^0.9.9"},"_npmOperationalInternal":{"tmp":"tmp/pipe-ts_0.0.7_1562579083669_0.6387348322893793","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"pipe-ts","version":"0.0.8","keywords":["typescript","ts","pipe","functional","fp"],"_id":"pipe-ts@0.0.8","maintainers":[{"name":"unsplash","email":"dev@unsplash.com"}],"dist":{"shasum":"ceea3f69549b09f0678d644cf2f849a2f6526568","tarball":"https://registry.npmjs.org/pipe-ts/-/pipe-ts-0.0.8.tgz","fileCount":10,"integrity":"sha512-8c8/ZwMJGwkL0aTW064KhH+xsKM5Zj0T3mfTq+O8re4lVnCyJ0o3BmY8QqO6DS3B6t5Uiluj7wM+btC+oTdKpg==","signatures":[{"sig":"MEUCIQDErS2BH67Kn+aXohkVb8ffsXyzrkxau5Gnu1QhDpzzIwIgBq2lIO8silOPH7KSGt6jKAm/tOIbuOaPRGLzXRF638Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnvLvCRA9TVsSAnZWagAAmLsQAJIj1ao6mbGz0pXNglci\nILOwlyFuts8Gbum20KcSmviV4p0Pg4yd64sgIYa5QEN6qfR9gOjl3G2qbqTb\n7lwdIr1Ua50q6Rp+gfjc+c/PSZJkgLMjwh+43lqsh7UnqQFkwLmYADpbZGzf\n1E5faPwKZeyELFyfDN6yRvZHtdi3zepkiZTSRU1RpgaFresZ5keWpW/Bp8xk\nbS3wKbo2woKWQ6oMeuW5g4ikeLMI4jpuIr+cP7K25UlO3VJRTfHaMWIy0Mg6\n1/vxymrfGLGuiDJ8HjaLwN1WE55PHAX7rdDsgY7jy9zAKgrTralgdfIzWg4M\nprSUP88V/WQb8aiYvB2Fnoqezg0jP91L2i8cOf/7NKDcJynDaoRVqKErAeLo\nY0bUesS1ZDcytAT0VrT5c6ZVbVZMkFDeQwxLVWqabQk/9L55x5WV9X4w/Vsc\nb2jvGoFQVKu1lXkm96evghzejkZx7BNOOgrViXGhCgQIdraC65pssQ6r+PVo\nfu+SMnbUYs94G1wff9xOVkskEDzio1+b/o+Z6zZ/8bEPs5RjEYyHnLYicQz1\nTi8ngEAwQT1RxR3lAOeA7OPkaZMOLHJvsoIA2kV47NTK/Fdp/JOFxCpLqFum\n4M4lFGi7FWJ/koDtlMaKjiXbOrC4zQgaNVnv6WJ82jGZuHisYtBzU8bKvDEm\nFsAR\r\n=7mjD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./target/index.js","scripts":{"lint":"tslint --project ./tsconfig.json","test":"npm run compile && node --require source-map-support/register ./target/tests.js","format":"prettier --write './**/*.{ts,tsx,js,json,md}' '.prettierrc'","compile":"rm -rf ./target/ && tsc","prepublishOnly":"npm run test && npm run lint && npm run compile"},"typings":"./target/index.d.ts","_npmUser":{"name":"unsplash","email":"dev@unsplash.com"},"repository":{"url":"https://github.com/unsplash/pipe-ts.git","type":"git"},"description":"[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.18.0","prettier":"^1.18.2","typescript":"^3.5.2","@types/node":"^12.0.10","tslint-no-unused":"^0.2.0-alpha.1","source-map-support":"^0.5.12","tslint-language-service":"^0.9.9"},"_npmOperationalInternal":{"tmp":"tmp/pipe-ts_0.0.8_1570697966487_0.0893425132373098","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"pipe-ts","version":"0.0.9","keywords":["typescript","ts","pipe","functional","fp"],"_id":"pipe-ts@0.0.9","maintainers":[{"name":"unsplash","email":"dev@unsplash.com"}],"dist":{"shasum":"9c1c9856348e5eeb1250b4c6d291b776b55556ca","tarball":"https://registry.npmjs.org/pipe-ts/-/pipe-ts-0.0.9.tgz","fileCount":13,"integrity":"sha512-j5DfveOe0xC4hIK6/FRJ+zHjvrgbMO+kgnM4ZsSQqWZZL8fgCYCAu7TXdkVLavX/2nALm32yBVDixW8+/aYtGA==","signatures":[{"sig":"MEQCIBnJ3p4OJ9/x8B0VUHgl0WBSe0mZkbQ+9GxSdO5CMeUyAiAhw54GEDblziQB8ghp0x7SpWrQgSDbgKn7bEwb8pui2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3nPrCRA9TVsSAnZWagAAWQQP+wQo96eP8EfbNxyyXQ9r\nHaEN4Bfl9cJ8wllqO02dOMtwqgTiKWMAomdRgc1HBkjx+Oxw0wE3HHNVzx//\nnvKwWRD06oEv+kMoEsrdN2P7s42Z1+XJATA0bjIo6+43jROdsC8V52jbCQ/1\n90GjAYvhaNmUwNBzhkZlfc+W9381NSlGu80htMkp3rAkgyX5sn0bxX1A7eGW\nSe2F9uLdDLhK9AFJU7bOMnSoLkFx2EF4NHvxn6v7gwms6YkXtWS4ZCrDZZsU\n//NiltJSPvguCiwqc/EhZfChsHhXp7WG/XDU29xQads5y1uBc0Vou8Rl+cZi\n7Bx49MFmQwHHdqq6IeW2Ad6lmLBZ3eEUtw0OUQS8I6383SlHIOuUEnQG1YMw\nlUVxG7h+cFGNg8s/+wXI7pAjFgVh4hTkbi3GgGB+pCOoFaGrxUwpab+Bfade\nlTADKmLMyNTYxGlf0JFkJod+4xXWA6CgbkgGw/KIPGKD/jLKlHsFWVk2suXv\n/+/+/8DeAinTywTXJpq3i0GRKs/GJIk4v90dgYOgicq5Bad27wPIxSOIOHbI\nEvYeg8ms8v5lCir5V3nfOi40fUooZlHTiBCod+FRytiGTCPhG9t2JYSwdxXY\n9FxaDE4sTBL2yut+AD4R93Vvoyg0FfsXrelrQg8PMFnIFOdlxtSb5ZzcRQMl\nMh/R\r\n=taRh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./target/index.js","scripts":{"lint":"tslint --project ./tsconfig.json","test":"npm run compile && node --require source-map-support/register ./target/tests.js","format":"prettier --write './**/*.{ts,tsx,js,json,md}' '.prettierrc'","compile":"rm -rf ./target/ && tsc","prepublishOnly":"npm run test && npm run lint && npm run compile"},"typings":"./target/index.d.ts","_npmUser":{"name":"unsplash","email":"dev@unsplash.com"},"repository":{"url":"https://github.com/unsplash/pipe-ts.git","type":"git"},"description":"[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tslint":"^5.18.0","prettier":"^1.18.2","typescript":"^3.5.2","@types/node":"^12.0.10","tslint-no-unused":"^0.2.0-alpha.1","source-map-support":"^0.5.12","tslint-language-service":"^0.9.9"},"_npmOperationalInternal":{"tmp":"tmp/pipe-ts_0.0.9_1591636970277_0.8911979415861844","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-06-28T11:40:39.003Z","modified":"2026-05-14T15:31:58.285Z","0.0.1":"2019-06-28T11:40:39.130Z","0.0.2":"2019-06-28T12:06:00.707Z","0.0.3":"2019-06-28T20:55:03.291Z","0.0.4":"2019-07-05T13:45:07.101Z","0.0.5":"2019-07-05T14:21:26.080Z","0.0.6":"2019-07-05T21:23:44.916Z","0.0.7":"2019-07-08T09:44:43.801Z","0.0.8":"2019-10-10T08:59:26.705Z","0.0.9":"2020-06-08T17:22:50.756Z"},"keywords":["typescript","ts","pipe","functional","fp"],"repository":{"url":"https://github.com/unsplash/pipe-ts.git","type":"git"},"description":"[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)","maintainers":[{"email":"dev@unsplash.com","name":"unsplash-dev"}],"readme":"# pipe-ts\n\n[What is `pipe`?](https://dev.to/benlesh/a-simple-explanation-of-functional-pipe-in-javascript-2hbj)\n\n## Installation\n\n```sh\nyarn add pipe-ts\n\nnpm install pipe-ts\n```\n\n## `pipe`\n\nCreate a new function which pipes its value through the list functions.\n\n```ts\nconst add1 = (n: number) => n + 1;\nconst times2 = (n: number) => n * 2;\n\nconst add1ThenTimes2 = pipe(\n    add1,\n    times2,\n);\nconst result: number = add1ThenTimes2(1);\n\nassert.strictEqual(result, 4);\n```\n\nAllows first function to have any number of parameters (0+), [thanks to TypeScript's generic rest parameters](https://github.com/Microsoft/TypeScript/issues/29904#issuecomment-471334674)\n\n```ts\n// First function has multiple parameters\n\nconst difference = (a: number, b: number) => a - b;\nconst add1 = (n: number) => n + 1;\n\nconst differenceThenAdd1 = pipe(\n    difference,\n    add1,\n);\nconst result: number = differenceThenAdd1(5, 4);\n\nassert.strictEqual(result, 2);\n```\n\n```ts\n// First function has 0 parameters\n\nconst getNumber = () => 1;\nconst add1 = (n: number) => n + 1;\n\nconst getNumberThenAdd1 = pipe(\n    getNumber,\n    add1,\n);\nconst result: number = getNumberThenAdd1();\n\nassert.strictEqual(result, 2);\n```\n\n## `pipeWith`\n\nTransform a value by piping it through the listed functions. Sugar syntax for `pipe(f, g)(value)`.\n\n```ts\nconst add1 = (n: number) => n + 1;\nconst times2 = (n: number) => n * 2;\n\nconst result: number = pipeWith(1, add1, times2);\n\nassert.strictEqual(result, 4);\n```\n\n## Note about number of functions\n\n`pipe` and `pipeWith` currently support up to 9 functions. If need be, we are open to adding more overloads to increase this limit.\n\nWe are [also open to adding an array overload](https://github.com/unsplash/pipe-ts/issues/5), so any number of funtions can be passed.\n\n## When `this` matters\n\nIf a function passed to `pipe` or `pipeWith` relies on a specific context of execution ([`this`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this)), you cannot call it by passing the reference (_point-free style_).\n\nUse an anonymous function instead.\n\n**Bad**\n\n```ts\npipeWith('foo', localStorage.getItem);\n```\n\n**Good**\n\n```ts\npipeWith('foo', key => localStorage.getItem(key));\n```\n\n**Also good**\n\n```ts\npipeWith('foo', localStorage.getItem.bind(localStorage)),\n```\n\n## Development\n\n```\nyarn\nnpm run start\n```\n","readmeFilename":"README.md"}