0.0.23 • Published 5 years ago

@proem/pipe v0.0.23

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@proem/pipe

Proem package for composing functions as pipelines.

Usage

import array from '@proem/array'
import { pipe } from '@proem/pipe'

const longWordsLength = pipe((s: string) => s.split('.'))
  .to(array.map.partial(s => s.length))
  .to(array.filter.partial(l => l > 4))
  .to(array.reduce.partial<number, number>((acc, n) => acc + n)(0))
0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.12

6 years ago