@spacet.me/chain
v2.0.2
Published
Like `_.chain` but only contains `thru` and `value` methods. Comes with TypeScript typings.
Downloads
29
Readme
@spacet.me/chain
Like _.chain()
but the wrapper
contains only the thru(interceptor)
and value()
methods.
Familiar interface but without the bloat. It has same interface as
_.chain()
, so if you know Lo-dash, you know how to use this.TypeScript-compatible — it comes with type definitions out-of-the-box.
Totally unopinionated — can be used with lodash/fp, Ramda, Rameda, etc.
For more information, check out the project documention page.
API
const chain = require('@spacet.me/chain')
See _.chain()
, but keep in mind only
these methods are available: