Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/leophant/leophant
- Owner: leophant
- License: mit
- Created: 2019-01-16T18:20:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T05:00:30.000Z (about 2 years ago)
- Last Synced: 2024-08-09T07:50:53.596Z (6 months ago)
- Topics: database, javascript, leophant, mysql, node, orm, postgresql
- Language: JavaScript
- Homepage:
- Size: 380 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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