s3-lite-client
kysely
s3-lite-client | kysely | |
---|---|---|
1 | 39 | |
77 | 11,819 | |
- | 2.9% | |
7.1 | 8.8 | |
about 1 month ago | 3 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
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.
s3-lite-client
-
Cloudflare is almost perfect
S3 client: @aws-sdk/client-s3 sucks, both in terms of DX & package size. I wish Cloudflare would make their R2 worker API a general purpose package for anyone to use. The closest I have found that is good in the meantime is @bradenmacdonald/s3-lite-client.
kysely
- Kysely (the type-safe SQL query builder for TypeScript) 0.28 is out
- ArkType: Ergonomic TS validator 100x faster than Zod
-
After a Year of Wanting a Typed Rails and Starting Development, I Released a Framework for TypeScript
I discovered that Prisma’s generator feature allows arbitrary code generation from Prisma’s table definition files. Even query builder libraries like Kysely can use Prisma generators to output necessary type definition files. For this ORM, I decided to use Prisma for table definitions and migrations, automatically generating required files with Prisma’s generator. While Rails’ migrations involve creating differential files, I personally find Prisma’s approach—automatically generating migration files from schema files—more convenient, which was one reason for this choice.
-
Good-bye core types; Hello Go as we know and love it
Honestly any typescript library with great type safety probably has seriously gnarly generics inside. Here[1] is a random file from kysely, which is surprisingly readable even though kysely's type safety is incredibly good.
But things I encounter in the regular non-library world are usually recursive types that have specific constraints. A couple years ago I had my first foray into typescript generics, and was so stumped that I actually gave up. I was trying to map the type of one nested object to another. This[2] is the stackoverflow post from the legendary jcalz that saved me! Check jcalz's link to the TS playground
[1]https://github.com/kysely-org/kysely/blob/master/src/query-b...
- Composable SQL (Functors)
-
Show HN: TypeSafe SQL-Like ORM and Query Builders for TypeScript/JS
What are the differentiators to https://kysely.dev ?
-
Writing Composable SQL Using Knex and Pipelines
This was one of the problems I ran into https://github.com/kysely-org/kysely/issues/664, not being able to use functions inside onDuplicateKeyUpdate
-
Using SQLite as Storage for Web Server Static Content
> Using SQL queries is typesafe with Kysely https://kysely.dev/ (without the need for an ORM)
Wow, this is even better than what I've seen people do with F# type providers. Cool cool cool.
-
Sqlc: Compile SQL to type-safe code
Surprised nobody has mentioned “Kysely” (https://kysely.dev).
It is a query builder (not an ORM), that (ab)-uses the Typescript type system to give you full type safety, intellisense, autocomplete etc.
Crucially it doesn’t require any build/compile step for your queries which is fantastic.
-
Swift sucks at web serving or does it?
The most interesting JS DB lib I came across was https://github.com/kysely-org/kysely but still didn't feel as good as EF Core.
What are some alternatives?
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
drizzle-orm - Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
hono - Web framework built on Web Standards
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
oauth4webapi - Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.