ramdaP-ts
tslib
ramdaP-ts | tslib | |
---|---|---|
1 | 2 | |
0 | 6 | |
- | - | |
10.0 | 8.1 | |
about 3 years ago | 7 days ago | |
TypeScript | TypeScript | |
- | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ramdaP-ts
-
A generically typed pipe function in TypeScript
Um, Ramda has pipe and types: https://www.npmjs.com/package/@types/ramda. Although I liked my own implementation of a pipeP (pipe that automatically unwraps promises) that let you specify the type of the input and output of the pipeline: https://github.com/chughes87/ramdaP-ts/blob/main/index.ts#L1....
tslib
- Pipe Operator (|>) For JavaScript
-
A generically typed pipe function in TypeScript
An easier alternative is to wrap the value into an array, then use .map for each function in the chain, and finally escape the value with [0]
I made a similar data structure to allow adding side effect (no return value) as part of the chained function.
https://github.com/beenotung/tslib/blob/9f9a9274c1e13be7ba83...
What are some alternatives?
remeda - A utility library for JavaScript and TypeScript.
froebel - A strictly typed utility library.
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
IxJS - The Interactive Extensions for JavaScript
async-utils - Async function utils
ramda - :ram: Practical functional Javascript
proposal-pipeline-operator - A proposal for adding a useful pipe operator to JavaScript.
DefinitelyTyped - The repository for high quality TypeScript type definitions.
firehoser - A wrapper around AWS Kinesis Firehose with retry logic and custom queuing behavior. Requires node >= 6.0.0