New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fp-ts-bigint

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fp-ts-bigint

BigInt library for fp-ts

latest
Source
npmnpm
Version
2.1.8
Version published
Weekly downloads
3.6K
0.34%
Maintainers
1
Weekly downloads
 
Created
Source

fp-ts-bigint

Build Status

BigInt library for fp-ts

As not every JavaScript runtime supports BigInt, this library contains opt-in bigint functions absent from fp-ts:

  • Eq
  • Ord
  • Show
  • Field
  • semigroupSum
  • semigroupProduct
  • monoidSum
  • monoidProduct
  • magmaSub

Install

npm install fp-ts-bigint

Use

Same as fp-ts

import * as B from "fp-ts-bigint";

B.semigroupSum.concat(2n, 3n); // => 5n
B.semigroupProduct.concat(2n, 5n); // => 10n
  • original fp-ts PR

Acknowledgments

Keywords

fp-ts

FAQs

Package last updated on 20 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts