Weekly downloads
Readme
CORMO is an ORM framework for Node.js.
Currently supports:
See https://github.com/croquiscom/cormo/wiki/Future-Plans for future plans.
The following is a basic usage. You can see detail guides on http://croquiscom.github.io/cormo/.
import * as cormo from 'cormo';
const connection = new cormo.MySQLConnection({ database: 'test' });
@cormo.Model()
class User extends cormo.BaseModel {
@cormo.Column({ type: String, required: true, unique: true })
name!: string;
@cormo.Column({ type: cormo.types.Integer })
age?: number;
}
await User.create({ name: 'John Doe', age: 27 });
const users = await User.where({ age: 27 }).select(['name']).order('name').limit(5).skip(100);
MIT licenses. See LICENSE for more details.
FAQs
ORM framework for Node.js
The npm package cormo receives a total of 345 weekly downloads. As such, cormo popularity was classified as not popular.
We found that cormo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.