denoify
🦕For NPM module authors that would like to support Deno but do not want to write and maintain a port. (by garronej)
ts-pattern
🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference. (by gvergnaud)
Our great sponsors
denoify | ts-pattern | |
---|---|---|
7 | 38 | |
916 | 10,882 | |
- | - | |
7.2 | 8.5 | |
3 months ago | 15 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
denoify
Posts with mentions or reviews of denoify.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-06.
-
Node.js vs. Deno vs. Bun: JavaScript runtime comparison
If you’re building packages/libraries for the community to use you can take a look at Denoify. It’s a project that aims to change some of your files automatically when migrating and make it easier to maintain the project for both npm and deno.land/x.
-
Build package for NPM & Deno
I do Node-first packages and use https://github.com/garronej/denoify to produce deno-compatible code. (example: https://github.com/mxxii/leac )
-
Incomplete list of npm packages adapted for Deno
You can use https://github.com/garronej/denoify for Node-first packages.
-
Ensure you never forget a case in a switch
Or use ts-patten it's comming to Deno soon (thanks to Denoify).
-
Maybe it's time to give Denoify another try. It's much more capable now than when it was first introduced.
So, if you tried Denoify in the past and it didn't work for you, maybe it will now. If you need a hand, I'm happy to help. Just ask anything on the newly opened discussion section of the github repo.
-
λ "Functions all the way down" data validation for JavaScript and TypeScript, now available for deno
It has zero dependencies so was very easy to dual publish on both npm and deno.land using denoify. Literally just needed to add the .ts extension to imports.
ts-pattern
Posts with mentions or reviews of ts-pattern.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-08.
-
You Don't Need React
ts-pattern has been a decent band-aid for the lack of native pattern matching, but obviously has downsides that could be avoided if it was built into the language.
https://github.com/gvergnaud/ts-pattern
- Stop nesting ternaries
-
Building React Components Using Unions in TypeScript
ts-pattern
- Pattern Matching Library for TypeScript
-
TypeScript Is Surprisingly OK for Compilers
With how powerful the type system is you can implement pattern matching via a library pretty convincingly, https://github.com/gvergnaud/ts-pattern is definitely the go-to. That being said pattern matching is hardly a requirement for being ok for implementing compilers.
-
How to achieve type safety here possible without "type hacks"?
https://github.com/gvergnaud/ts-pattern might help
- ts-pattern v5
-
[AskJS] C# in every Node.js job posting?
There's a proposal to add something like that to JavaScript but it's been stuck in limbo since 2017 although there are libraries like ts-pattern which implement it already.
- Simplifying Dynamic Classes in Vue with the class-variance-authority library | cdruc.com
- Rust Appreciation Thread
What are some alternatives?
When comparing denoify and ts-pattern you can also consider the following projects:
nx - Smart Monorepos · Fast CI
pattern-grab - 🤛🏻 Regular Expression Data Grabber
dnt - Deno to npm package build tool.
ts-adt - Generate Algebraic Data Types and pattern matchers
tsafe - 🔩 The missing TypeScript utils
await-to-js - Async await wrapper for easy error handling without try-catch
react-dsfr - 🇫🇷 Design system React toolkit
union-types - A Typescript library for creating discriminating union types.
domain-functions - Decouple your business logic from your framework. With first-class type inference from end to end.
ts-option
rescript-compiler - The compiler for ReScript.
typescript-coverage-report - Node command tool to generate TypeScript coverage report