UNPKG

fp-ts-bracket

Version:
29 lines (17 loc) 1.14 kB
# Bracket Monad for fp-ts [![NPM Version](https://img.shields.io/npm/v/fp-ts-bracket.svg?style=flat-square)](https://www.npmjs.com/package/fp-ts-bracket) [![NPM Downloads](https://img.shields.io/npm/dt/fp-ts-bracket.svg?style=flat-square)](https://www.npmjs.com/package/fp-ts-bracket) ## Installation To install the stable version: ``` npm install fp-ts fp-ts-bracket ``` `fp-ts` is a peer dependency. Make sure to always have a single version of `fp-ts` installed in your project. Multiple versions are known to cause `tsc` to hang during compilation. You can check the versions currently installed using `npm ls fp-ts` (make sure there's a single version and all the others are marked as `deduped`). # Documentation **Disclaimer**. Teaching functional programming is out of scope of this project, so the documentation assumes you already know what FP is. **Disclaimer**. Based on [fp-ts-bootstrap](https://github.com/Avaq/fp-ts-bootstrap) - [docs](https://velocityzen.github.io/fp-ts-bracket/) - [fp-ts docs](https://gcanti.github.io/fp-ts) - [ecosystem](https://gcanti.github.io/fp-ts/ecosystem/) # License The MIT License (MIT)