1.1.6 • Published 1 year ago

congruity v1.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Congruity

Congruity is a library, based on Jenp, to help developers build applications using functional development. Documentation : Here

Installations

npm install

Building Library

npm build

Testing Library

npm test

Create Documentation for Library

npm docs

Modules

Congruity is currently broken down into 4 modules.

fn

This module contains all functions that can be utilized for functional development such as compose, pipe, curry etc.

monad

This module consist or 3 monads

  • Maybe: used to handle nullable data
  • IO: used to handle the effects of DOM manipulations, but also used as a description of effects that are evaluated at a later time
  • Either: Used for handling 2 sides, where there is a success or a failure. Right side indicates success and is leaned on, where as left is the other state used to errors.

pattern

This modules is useful if you need a (or combination of) design pattern(s) for you application. Example would be to create middleware, add decorators to existing classes to enhance functionality or simply use classes to create factories.

reactive

This is a module one could use to add an observerable pattern to their application and forgo the use of promises and call backs. Similar to RxJS, just smaller and with the ability to create ones own operators.

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago