interfaces that describe their intentions
yarn add chain-able
npm i chain-able --save
writing an api using chain-able means:
- write 1 api
- get 3 apis as a result!
- 🍉 persistable, rehydratable, & transferrable configurations
- ⛓ fluent/chainable api
- 🍦 vanilla object syntax
- expressive, clearly communicative code
- runtime type validation
- 🔬 230+ tests with 96%+ code coverage
- ⚡ performant & tiny
~7kb
(gzip) 300 byte minimal version available as snippet
more...
- 🌐 api
- 🍭 iteratable
- 🗣 expressive
- 👾 makes solving complex problems simple
- 💆 seamless native integration
- 🎼 compose & decorate
- 🛂 types, schemas, validation
- 🔌 method builder
- 🏭 infinitely nestable understandable factories
▶️ ◀️ easy deep merging- ☮️ compatibility - typescript, nodejs, webpack, rollup, fusebox, babel, buble, amd
- ⚡ performant & tiny
~7kb
(gzip) 300 byte minimal version available as snippet
- 😎⛓ awesome fluents
- many thanks to Eli Perelman for all the chainable goodness
- thanks to James Halliday for the tremendous traversals
- thanks to Sindre Sorhus for the simple dot-prop access
- thanks to Josh Duff for deep merging
- based on webpack-chain, but not webpack-specific.
- thanks to Jon Schlinkert & inferno for type checking inspirations
- transpiled with buble
- Martin Fowler on FluentInterface