fpc

3.0.1 • Public • Published

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 fpc

Module 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/fpc@3.0.0/dist/fpc.es6.js';

Yes, I have written another functional-js library.

xkcd standards

Package Sidebar

Install

npm i fpc

Weekly Downloads

3

Version

3.0.1

License

GPL-3.0

Unpacked Size

61.2 kB

Total Files

12

Last publish

Collaborators

  • emiliano.bovetti