musicshare
postgres-schema-builder
musicshare | postgres-schema-builder | |
---|---|---|
1 | 2 | |
21 | 13 | |
- | - | |
0.0 | 0.0 | |
almost 3 years ago | about 1 year ago | |
TypeScript | TypeScript | |
GNU Affero General Public License v3.0 | 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.
musicshare
-
Any ORMs that don't use classes for entities?
The key feature of both postgres-schema-builder and our new library is the database schema definition and the derived typesafe queries. You define your whole (table) schema in typescript (example can be seen here) and for each Table you automatically receive a derived typescript type which reflects the correct column names and data types. You also get typesafe queries, like inserts, updates, selects, etc...
postgres-schema-builder
-
Recommended type-safe npm package?
Hey there, I'm Nikolas from the Prisma team. We have a section about this in our docs: Should you use Prisma? where we explain when Prisma is a good use case for you and when other alternatives might be better. It sounds like you could look into tools like Slonik, pgtyped, Zapatos, postgres-schema-builder which are all great type-safe SQL libraries.
-
Any ORMs that don't use classes for entities?
Two years ago, I started publishing the code on GitHub (postgres-schema-builder, current version is 1.2.0-beta.3). The code has been in our production code for over 3 years now (and I'm also using it for several private side projects), but our team is currently working on a brand new library! The idea stays the same as for the postgres-schema-builder: You define your database schema and get the corresponding interface types derived from the schema (without code generation). Further, you can perform typesafe SQL queries against your defined schema. With the upcoming library, we plan to even allow more complex queries like joins, aggregations, database views, etc..., all typesafe, all functional API! I hope we are able to release a first beta version in about 1-2 months. I will keep you up to date!
What are some alternatives?
spotify-dedup - Remove duplicates from your Spotify Playlists
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.
spotify-library - Export your Spotify library to JSON via CLI. Supports track genres and audio features
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
sensibleHub - self-hosted music management server with a web interface and FTP sync for offline listening
typesafe-query-builder - Generate SQL queries leveraging type inference and Postgres Json functions
pgtyped - pgTyped - Typesafe SQL in TypeScript
Music-Player - A music player with real-time pitch shifting, time stretching, and reversing effects.
kysely - A type-safe typescript SQL query builder [Moved to: https://github.com/kysely-org/kysely]
kysely - A type-safe typescript SQL query builder