Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leophant/leophant

ORM for Node.js
https://github.com/leophant/leophant

database javascript leophant mysql node orm postgresql

Last synced: about 1 month ago
JSON representation

ORM for Node.js

Awesome Lists containing this project

README

        
















Leophant is an ORM for Node.js.

**Note**: Leophant is under active development and there is no working version of it available yet.

[Example](https://github.com/leophant/leophant-example) —
[PostgreSQL connector](https://github.com/leophant/leophant-postgresql) —
[MySQL connector](https://github.com/leophant/leophant-mysql) —
[Questions](https://stackoverflow.com/questions/tagged/leophant)

## Install

```bash
$ npm i leophant

# Then install at least one connector:
$ npm i leophant-postgresql
$ npm i leophant-mysql
```

## Features on the roadmap

- [x] Zero dependencies
- [x] Core written using async/await
- [ ] Discover models automatically
- [ ] PostgreSQL connector
- [ ] MySQL connector
- [ ] Cross-database queries
- [ ] JSON schema definition
- [ ] Autoupdate/automigrate schemas
- [ ] 1:1, 1:N and M:N relations
- [ ] Polymorphic relations
- [ ] Through models
- [ ] Transactions
- [ ] Migrations
- [ ] Lifecycle events
- [ ] Web-based model management tool
- [ ] CLI