Skip to content

Badger Database

A Javascript Database Abstraction Toolkit

Badger

SQL Made Easier

Badger Database is a library designed to simplify the process of working with SQL databases.

It aims to be pragmatic, not dogmatic. It implements some of the most useful features of SQL query builders and ORMs, but doesn't stop you from working with SQL queries when you need to.

It has support for Postgres, MySQL, MariaDB and SQLite. It is around 4k lines of code, with a bundle size of around 17kB, minified and compressed.

WARNING - Opinionated and Selfish Software

This is OSS: Open Source Software that you can freely use if you want to. But OSS also stands for Opinionated and Selfish Software. It doesn't set out to please all the people, all the time. On the contrary, it is designed to please one person (me) most of the time. I wrote it to help me get my job done. If it helps you get your job done then great. But please don't complain if it doesn't do what you want. It's not my job to help you do your job.

Built by Badgers