great.db
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

great.db

A powerful, human-friendly database library for JavaScript using SQLite. A completely different approach is taken to create this library which strives to change the way we use SQLite in JavaScript forever.

  • 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 for x/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.

Dependencies (1)

Dev Dependencies (1)

Package Sidebar

Install

npm i great.db

Weekly Downloads

5

Version

3.0.0

License

MIT

Unpacked Size

14.1 kB

Total Files

9

Last publish

Collaborators

  • tr1ckydev