Gathering detailed insights and metrics for @mobily/ts-belt
Gathering detailed insights and metrics for @mobily/ts-belt
Gathering detailed insights and metrics for @mobily/ts-belt
Gathering detailed insights and metrics for @mobily/ts-belt
🔧 Fast, modern, and practical utility library for FP in TypeScript.
npm install @mobily/ts-belt
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (75.48%)
ReScript (14.89%)
JavaScript (9.26%)
Shell (0.23%)
Reason (0.15%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,169 Stars
448 Commits
29 Forks
17 Watchers
2 Branches
8 Contributors
Updated on Jul 11, 2025
Latest Version
3.13.1
Package Id
@mobily/ts-belt@3.13.1
Unpacked Size
371.74 kB
Size
57.16 kB
File Count
55
NPM Version
8.9.0
Node Version
16.13.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Fast, modern, and practical utility library for FP in TypeScript.
Full documentation can be found here.
ReScript
, which generates highly performant JavaScript code (see the benchmark results here)data-first
approachTypeScript
and Flow
Option
and Result
types1yarn add @mobily/ts-belt
or with npm
1npm install @mobily/ts-belt --save
Module | Namespace | Description |
---|---|---|
Array | A | Utility functions for Array . |
Boolean | B | Utility functions for Boolean . |
Number | N | Utility functions for Number . |
Object (Dict) | D | Utility functions for Object . |
String | S | Utility functions for String . |
Guards | G | Various TypeScript guards. |
Option | O | Functions for handling the Option data type that represents the existence and nonexistence of a value. |
Result | R | Functions for describing the result of a certain operation without relying on exceptions. |
Function | F | Other useful functions. |
1import { A, O, N, pipe } from '@mobily/ts-belt' 2 3pipe( 4 [1, 2, 3, 4, 5], // → [1, 2, 3, 4, 5] 5 A.dropExactly(2), // → Some([3, 4, 5]) 6 O.flatMap(A.head), // → Some(3) 7 O.map(N.multiply(10)), // → Some(30) 8 O.getWithDefault(0), // → 30 9) // → 30
The MIT License.
See LICENSE
No vulnerabilities found.
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/29 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
78 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More