Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 5 TypeScript Pattern Projects
-
Project mention: Safer exhaustive switch statements in TypeScript | reddit.com/r/typescript | 2022-12-29
Here is a library providing the described logic with a nice interface. I've used it before and others seems to find it helpful too.
-
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
-
-
The function is so simple, you could write it yourself, the only difference is that I'm testing it, adding devtools integration, and typing with TypeScript for you. You can check the source here. The usage is quite simple, react-pair provides a pair function that you can use to create a component that gives you access to the hook in a component context (without breaking the rules of hooks):
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
TypeScript Pattern related posts
- How to name interface and implementor in typescript
- # Avoiding boolean flags and impossible states when using declarative data fetching with React and Typescript
- Discriminated Unions & Pattern Matching in Typescript
- Are chain ternary operators an antipattern?
- The exhaustive Pattern Matching library for TypeScript with smart type inference
- help refactoring this pattern matching function
- #IfElseOrElse
-
A note from our sponsor - Sonar
www.sonarsource.com | 31 Mar 2023
Index
What are some of the best open-source Pattern projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | ts-pattern | 6,153 |
2 | Index | 178 |
3 | ts-matches | 10 |
4 | pattern-grab | 7 |
5 | react-pair | 7 |