0.0.1 • Published 5 years ago
@mongoolize/core v0.0.1
@mongoolize/core
ORM for mongodb
Inspired by
Requirements
- NodeJS >= 8
- ExperimentalDecorators must be enabled in tsconfig.json
Installation
With NPM:
npm install @mongoolize/core
Using Yarn:
yarn add @mongoolize/core
Usage
Create a schema
import { Schema, prop } from '@mongoolize/core' class User extends Schema { @prop({ type: String }) name?: string }
Create a model
Coming Soon!
Testing
We use jest with ts-jest for testing.
npm run test
Versioning
Starting from release (v1)
We will use SemVer for versioning.
License
MIT License - LICENSE.md
0.0.1
5 years ago