@jasonsbarr/functional-core
v0.11.0
Published
A function-based version of the JavaScript standard library plus additional awesome functions
Downloads
6
Maintainers
Readme
@jasonsbarr/core
Core functions and types for functional programming in JavaScript, including the ability to create your own tagged union types and a functional, largely curried interface to the JavaScript standard library.
What's Included
Included function categories:
- Array
- Boolean
- Helpers
- Lambda
- Math
- Number
- Object
- Predicates
- RegExp
- String
- Symbol
- Type conversion
- Type creation
- Type matching
Included types:
- Either
- Future
- Id
- Option
- Record
- Result
Also includes a selection of type classes that include default implementation of methods like map
and chain
you can use to speed along creation of your own types.