composable-functions
Types and functions to make composition easy and safe (by seasonedcc)
denoify
🦕For NPM module authors that would like to support Deno but do not want to write and maintain a port. (by garronej)
| composable-functions | denoify | |
|---|---|---|
| 4 | 7 | |
| 740 | 948 | |
| 0.3% | -0.1% | |
| 7.4 | 2.5 | |
| about 1 year ago | 8 months 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.
composable-functions
Posts with mentions or reviews of composable-functions.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-06-12.
-
Molecules of business logic from tiny atoms
Instead of adding multiple try/catch statements, we'll establish a pattern to deal with exceptions. For that, let me introduce you to Composable Functions, a library we created to make function composition easy and safe.
-
Using Arktype in Place of Zod - How to Adapt Parsers
composable-functions
-
Enforcing 'noImplicitAny' on callbacks to generic functions
Last week, I started a Twitter thread about this and asked for help from some friends and TS experts. I was working on our library composable-functions on an issue by @danielweinmann that was experiencing this problem.
-
Build package for NPM & Deno
As already mentioned dnt might help you if you are willing to have deno as your primary development environment. I work in a project like this and the deno tooling is great. I don't even need a package.json since dnt will generate it for me.
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.
What are some alternatives?
When comparing composable-functions and denoify you can also consider the following projects:
leac - Lexer / tokenizer
tsafe - 🔩 The missing TypeScript utils
make-service - A set of utilities to improve the DX of native `fetch` to better interact with external APIs.
react-dsfr - 🇫🇷 The French Government Design system React toolkit
dnt - Deno to npm package build tool.
northwind-SQLite3 - SQLite3 version of Microsoft's Northwind Database