pipe-and-compose

Implementation of `pipe` and `compose` using types from @babakness.

Usage no npm install needed!

<script type="module">
  import pipeAndCompose from 'https://cdn.skypack.dev/pipe-and-compose';
</script>

README

Introduction

This library was inspired while I writing an article. I challenged myself to write a pipe and compose function in TypeScript that

  • did not rely on function overloads
  • could compose an unlimited number of