2.0.2 • Published 2 years ago

@spacet.me/chain v2.0.2

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

@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.

Project documention page

API

const chain = require('@spacet.me/chain')

See _.chain(), but keep in mind only these methods are available: