Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

trails-model

2.0.1 • Public • Published

trails-model

Gitter NPM version Build status Dependency Status Code Climate Follow @trailsjs on Twitter

Note: This module is deprecated in Trails v2. It will be merged into trailsjs/trails in v3.

Trails Model Class. Exposes Trails Application resources to the class instances. Models should extend this Class.

Usage

const Model = require('trails-model')
 
class MyModel extends Model {
  // ...
}

Install

License

MIT

Install

npm i trails-model

DownloadsWeekly Downloads

15

Version

2.0.1

License

MIT

Last publish

Collaborators

  • avatar