Midnight (formerly known as Flyweight) is an ORM for SQLite and NodeJS.
Midnight combines a very simple API for performing basic operations, with the ability to create SQL queries that are parsed by the ORM.
Tables are created the same way as they are in SQL. The native types available in strict mode are integer, real, text, blob, and any. In addition to these types, four additional types are included by default: boolean, date, and json.
Object–relational mapping (ORM) is a programming technique for converting data between incompatible type systems using object-oriented programming languages. This creates, in effect, a “virtual object database” that can be used from within the programming language.
In essence, ORM is a design pattern for converting (wrapping) that data stored within a relational database into an object that can be used within an object oriented language. It creates a layer between the language and the database, helping programmers work with data without the OOP paradigm.
This is free and open source software.
Website: github.com/andrewitsover/midnight
Support:
Developer: Andrew Jones
License: MIT License
Midnight is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.
Related Software
| JavaScript Object-Relational Mapping Software | |
|---|---|
| Sequelize | Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and more |
| Drizzle | Lightweight, headless object-relational mapper |
| Objection.js | ORM for Node.js that aims to stay out of your way |
| Midnight | ORM for SQLite |
| Bookshelf | ORM for Node.js, built on the Knex SQL query builder |
| Orange ORM | Runs on Node.js, Bun and Deno, supporting CommonJS and ECMAScript mods |
| Sutando | Object-relational mapper for Node.js |
| Waterline | Adapter-based ORM for Node.js |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.