fpc
v3.0.1
Published
Functional patterns collection
Maintainers
Readme
fpc
Meta package that bundles together @fpc/types, @fpc/utils, @fpc/stream, @fpc/maybe and @fpc/result.
fpc is a lightweight collection of functional patterns, compatible with es6 module system and importable.
Installation
$ yarn add fpcModule import:
import { Maybe, Stream, expectFunction } from 'fpc';Require in node:
const fpc = require('fpc');For direct browser usage you can include the UMD bundle:
<script type="text/javascript" src="path/to/dist/fpc.umd.js"></script>You can import the es6 module bundle in Deno:
import { Stream, Result } from 'https://unpkg.com/[email protected]/dist/fpc.es6.js';Yes, I have written another functional-js library.

