An open API service providing repository metadata for many open source software ecosystems.

GitHub / swissmanu / pattern-matching-with-typescript

TypeScript does not have any pattern matching functionality built in. This article shows several ways how you can replicate the core of a simple pattern matcher using a few simple structures and functions within TypeScript. Resulting code will have improved maintainability and better runtime type safety when done right.

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swissmanu%2Fpattern-matching-with-typescript

Stars: 73
Forks: 2
Open issues: 0

License: mit
Language: JavaScript
Size: 128 KB
Dependencies parsed at: Pending

Created at: almost 8 years ago
Updated at: 3 months ago
Pushed at: over 5 years ago
Last synced at: 3 days ago

Topics: article, maintainability, pattern-matching, typescript

    Loading...