Gathering detailed insights and metrics for @morphism/fp
Gathering detailed insights and metrics for @morphism/fp
Gathering detailed insights and metrics for @morphism/fp
Gathering detailed insights and metrics for @morphism/fp
npm install @morphism/fp
Typescript
Module System
Node Version
NPM Version
TypeScript (94.92%)
JavaScript (5.08%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
88 Commits
21 Branches
2 Contributors
Updated on Apr 28, 2022
Latest Version
0.4.0
Package Id
@morphism/fp@0.4.0
Unpacked Size
39.71 kB
Size
7.38 kB
File Count
9
NPM Version
lerna/3.22.1/node@v14.17.6+arm64 (darwin)
Node Version
14.17.6
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
A faithful re-export of fp-ts that uses declaration merging to allow access to both a type and all methods on that type, using only a single import statement.
Here's an example using TaskEither
from fp-ts
:
1import { TaskEither } from "fp-ts/lib/TaskEither" 2import * as TE from "fp-ts/lib/TaskEither" 3 4const instance: TaskEither<E, A> = ... 5 6pipe( 7 instance, 8 TE.chain(...), 9 TE.map(...), 10 TE.fold( 11 (e: E) => ..., 12 (a: A) => ... 13 ) 14)
The equivalent using TaskEither
from @morphism/fp
:
1import { TaskEither } from "@morphism/fp" 2 3const instance: TaskEither<E, A> = ... 4 5pipe( 6 instance, 7 TaskEither.chain(...), 8 TaskEither.map(...), 9 TaskEither.fold( 10 (e: E) => ..., 11 (a: A) => ... 12 ) 13)
Here's another example using Either
from fp-ts
:
1import { Either } from "fp-ts/lib/Either" 2import * as E from "fp-ts/lib/Either" 3 4const instance: Either<E, A> = ... 5 6pipe( 7 instance, 8 E.chain(...), 9 E.map(...), 10 E.fold( 11 (e: E) => ..., 12 (a: A) => ... 13 ) 14)
The equivalent using Either
from @morphism/fp
:
1import { Either } from "@morphism/fp" 2 3const instance: Either<E, A> = ... 4 5pipe( 6 instance, 7 Either.chain(...), 8 Either.map(...), 9 Either.fold( 10 (e: E) => ..., 11 (a: A) => ... 12 ) 13)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- 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
51 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