@spacet.me/chain
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

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

Package Sidebar

Install

npm i @spacet.me/chain

Weekly Downloads

1

Version

2.0.2

License

MIT

Unpacked Size

30.6 kB

Total Files

19

Last publish

Collaborators

  • dtinth-bot
  • dtinth