tslib
firehoser
tslib | firehoser | |
---|---|---|
2 | 1 | |
6 | 22 | |
- | - | |
8.1 | 10.0 | |
19 days ago | almost 2 years ago | |
TypeScript | JavaScript | |
BSD 2-clause "Simplified" License | MIT 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.
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...
firehoser
-
Pipe Operator (|>) For JavaScript
https://github.com/mirusresearch/firehoser/blob/46e4b0cab9a2...
and this
return moment(input).utc().format('YYYY-MM-DD HH:mm:ss')
What are some alternatives?
froebel - A strictly typed utility library.
proposal-do-expressions - Proposal for `do` expressions
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
sweet.js - Sweeten your JavaScript.
remeda - A utility library for JavaScript and TypeScript.
proposal-bind-operator - This-Binding Syntax for ECMAScript
ramdaP-ts - TypeScript ramda utility functions for dealing with Promises (and a few misc others)
falcon - Free, open-source SQL client for Windows and Mac 🦅
IxJS - The Interactive Extensions for JavaScript
proposal-pipeline-operator - A proposal for adding a useful pipe operator to JavaScript.
proposal-record-tuple - ECMAScript proposal for the Record and Tuple value types. | Stage 2: it will change!