hotscript
ts-essentials
hotscript | ts-essentials | |
---|---|---|
4 | 4 | |
3,337 | 3,577 | |
- | 0.9% | |
6.5 | 6.9 | |
4 months ago | 10 days ago | |
TypeScript | TypeScript | |
- | 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.
hotscript
-
Configuring ESLint, Prettier, and TypeScript Together | Josh Goldberg
Nested ternaries are a sin. The only time you should be using them is in complex type generics because that's the only official way to write them. But we may no longer even have that excuse now with the existence of HotScript's higher order types. https://github.com/gvergnaud/hotscript
-
Saw this pop up on GitHub: HOTScript. Took me a second to wrap my head around.
I don't know if I should be impressed or scared
- Higher Order TypeScript
ts-essentials
-
Essential Code Organization Principles
Also, it’s not as restrictive as mutability tools — if you know what you are doing and want to ignore this limitation for a particular case, you can apply the -readonly modifier or the Writeable type from type-fest or ts-essentials.
- libraries you are happy that you discovered them
-
ts-essentials VS utility-types - a user suggested alternative
2 projects | 24 Nov 2022
-
Explicit empty list type
True a readonly array would help, or even better yet deep readonly (which comes with ts-essentials) when dealing with non-primitive arrays
What are some alternatives?
deno_lint - Blazing fast linter for JavaScript and TypeScript written in Rust
ts-toolbelt - đź‘· TypeScript's largest type utility library
type-fest - A collection of essential TypeScript types
Superstruct - A simple and composable way to validate data in JavaScript (and TypeScript).
DefinitelyTyped - The repository for high quality TypeScript type definitions. [Moved to: https://github.com/DefinitelyTyped/DefinitelyTyped]
talk-typelevel-ts - Code samples for my talk “Type-level programming in TypeScript”
robot - 🤖 A functional, immutable Finite State Machine library
brainfuck-ts-types - A brainfuck interpreter running within the typescript type system
utility-types - Collection of utility types, complementing TypeScript built-in mapped types and aliases (think "lodash" for static types).
runtypes - Runtime validation for static types
DefinitelyTyped - The repository for high quality TypeScript type definitions.
fp-ts - Functional programming in TypeScript