typeorm-model

Laravel styled Model component of the TypeORM

Usage no npm install needed!

<script type="module">
  import typeormModel from 'https://cdn.skypack.dev/typeorm-model';
</script>

README

TypeORM Model

1. Outline

npm install --save typeorm typeorm-model

GitHub license npm version Downloads Build Status

Laravel styled Model component for the TypeORM.

2. Features

2.1. Model

  • belongsTo
  • hasOne
  • hasMany
  • hasManyToMany
  • hasManyThrough

2.2. Decorators

  • Table
  • IncrementalColumn
  • EncryptedColumn
  • BelongsTo

2.3. Typings

  • CreatorType
  • SpecialFields
  • WouldBe

3. Usage