Node-less version
See original GitHub issueI know it’s not Kysely goal to be multi-platform aka universal, still, I believe it would be a very nice addition with relatively minimal effort. With the advent of local-first software, especially awesome SQLite, it would be nice to be able to use Kysely in browsers or React Native without hacks.
I’m opening an issue because this can be helpful for someone else. Maybe it should be mentioned in the readme.
webpack: (config) => {
// Remove kysely server deps.
config.resolve.fallback = {
...config.resolve.fallback,
mysql2: false,
pg: false,
crypto: false,
path: false,
fs: false,
};
return config;
},
From the architectural point of view, I don’t see a reason why a typed string builder should depend on Node.js at all. The single-responsibility principle FTW.
Issue Analytics
- State:
- Created 2 years ago
- Comments:63 (28 by maintainers)
Top Results From Across the Web
NodeLESS 1.0.2 - NuGet Gallery
NuGet\Install-Package NodeLESS -Version 1.0.2. This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the...
Read more >nodeless - npm
Latest version: 0.0.0, last published: 5 years ago. Start using nodeless in your project by running `npm i nodeless`. There are no other...
Read more >Building a Nodeless Kubernetes Platform - William Denniss ...
Don't miss out! Join us at our upcoming hybrid event: KubeCon + CloudNativeCon North America 2022 from October 24-28 in Detroit (and online!)...
Read more >Nodal vs. Nodeless Objects - TechDocs - Broadcom Inc.
Nodal objects differ from nodeless objects primarily in the use of node separators and use of the asterisk. The asterisk is equivalent to...
Read more >Hybrid cloud Kubernetes with Nodeless
Nodeless Kubernetes enables you to stretch a single Kubernetes control plane to schedule pods across heterogenous compute types (on-demand, pre-emptible…
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s go with the separate Migrator class anyway. It’s the best solution. The reason for the coupling is easily solvable otherwise.
I would love to get this working in the Deno runtime. I’ve tried this using their node compatibility mode and using esbuilder tools like https://www.skypack.dev/view/kysely but could not get it to work.
I get this, but maybe to some that’s all they need. I would like to use Kysely for string building and plug the strings into a database client that Deno supports.
Would be amazing to maybe split the package in two? one for typed string building, another for the rest?