great.db
- Elegant way to set and retrieve data
- Robust functions to perform operations
- Complete typescript support
Bun? Deno? Node.js? We got all.
great.db uses runtimey to automatically detect which runtime you are using and uses the respective fastest SQLite library available under the hood. One code base working differently on different runtimes to provide the best experience. Isn't that great ?
Note: When using great.db in Deno,
-A --unstable
flags need to be passed forx/sqlite3
to work. Learn more.
Documentation and Examples
Seems interesting? Great! Head over to the documentation to learn everything about it.
Done reading? Now, check out the examples to get started.
Salient Features
-
Inserting/Updating data has never been easier
Insert or update data with a breeze through simple objects, one or multiple. Learn more.
-
Use schemas to describe shape of your table
Schema is a way to define how your table columns should be. Define your own schemas using various data types or use a built-in preset to quickly get started. Learn more.
-
Strong typescript support out of the box
Typescript types get auto magically inferred from the schema created to give auto-completions on the fly everywhere.
License
great.db uses MIT License. See LICENSE for full license text. great.db also uses external libraries that are available under a variety of licenses.