fnts
eslint-plugin-functional
fnts | eslint-plugin-functional | |
---|---|---|
2 | 5 | |
79 | 730 | |
- | 0.5% | |
5.3 | 9.2 | |
5 months ago | 2 days ago | |
TypeScript | TypeScript | |
MIT 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.
fnts
-
Generalizing a tuple of pipe functions
I've also tried to play on the idea, but the implementation turned out to be a bit different. Rather than inferring the types from the functions provided, it constrains the functions to follow the return type of the previous one in their argument and retain their return type, transforming every function's type on the fly.
-
fnts – Minimal Functional Programming Utilities for TypeScript & JavaScript
It's in the top right of the docs, but yeah, gonna drop it here for easier access https://github.com/drizzer14/fnts.
eslint-plugin-functional
-
How to add a property to an object that doesn't exist in its type?
It recommend using https://github.com/eslint-functional/eslint-plugin-functional to force readonly on all properties.
-
CI checks not rerunning when a bot makes a commit to a PR
Here's one the PRs that this issue happens with: https://github.com/eslint-functional/eslint-plugin-functional/pull/397
-
[ESLint] Passes locally but fails in CI
Here's the CI log link.
-
What other ways to enforce immutability in Angular beside using Immutable.js?
Also add this no-mutation ESLint rule as extra protection https://github.com/jonaskello/eslint-plugin-functional/blob/master/docs/rules/immutable-data.md
-
Which is the best functional programming library for typescript?
I just use https://github.com/jonaskello/eslint-plugin-functional
What are some alternatives?
hkts - Functional programming tools: option, either, task, state, optics, etc.
fp-ts - Functional programming in TypeScript
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.
matchbook-ts - pattern matching in javascript & typescript made easy
remeda - A utility library for JavaScript and TypeScript.
ts-belt - 🔧 Fast, modern, and practical utility library for FP in TypeScript.
eslint-plugin-total-functions - An ESLint plugin to enforce the use of total functions (and prevent the use of partial functions) in TypeScript.
pratica - 🥃 Functional Algebraic Data Types
FxTS - A functional programming library for TypeScript/JavaScript
typescript-eslint-demo - typescript eslint playground
effect - An ecosystem of tools to build robust applications in TypeScript.