{"id":19020254,"url":"https://github.com/trailsjs/trails-model","last_synced_at":"2025-07-31T12:38:15.742Z","repository":{"id":57378884,"uuid":"49358368","full_name":"trailsjs/trails-model","owner":"trailsjs","description":":globe_with_meridians: Trails Model Class","archived":false,"fork":false,"pushed_at":"2016-12-22T01:40:20.000Z","size":15,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-02T17:06:04.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trailsjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-10T07:53:45.000Z","updated_at":"2024-03-07T07:34:17.000Z","dependencies_parsed_at":"2022-09-26T16:41:33.449Z","dependency_job_id":null,"html_url":"https://github.com/trailsjs/trails-model","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/trailsjs/trails-model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrails-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrails-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrails-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrails-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trailsjs","download_url":"https://codeload.github.com/trailsjs/trails-model/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrails-model/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268040150,"owners_count":24185842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T20:16:21.281Z","updated_at":"2025-07-31T12:38:15.704Z","avatar_url":"https://github.com/trailsjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trails-model\n\n[![Gitter][gitter-image]][gitter-url]\n[![NPM version][npm-image]][npm-url]\n[![Build status][ci-image]][ci-url]\n[![Dependency Status][daviddm-image]][daviddm-url]\n[![Code Climate][codeclimate-image]][codeclimate-url]\n[![Follow @trailsjs on Twitter][twitter-image]][twitter-url]\n\n### Note: This module is deprecated in Trails v2. It will be merged into [trailsjs/trails](https://github.com/trailsjs/trails) in v3.\n\nTrails Model Class. Exposes Trails Application resources to the class\ninstances. Models should extend this Class.\n\n## Usage\n\n```js\nconst Model = require('trails-model')\n\nclass MyModel extends Model {\n  // ...\n}\n```\n\n#### Install\n\n## License\n[MIT](https://github.com/trailsjs/trails/blob/master/LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/trails-model.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/trails-model\n[ci-image]: https://img.shields.io/travis/trailsjs/trails-model/master.svg?style=flat-square\n[ci-url]: https://travis-ci.org/trailsjs/trails-model\n[daviddm-image]: http://img.shields.io/david/trailsjs/trails-model.svg?style=flat-square\n[daviddm-url]: https://david-dm.org/trailsjs/trails-model\n[codeclimate-image]: https://img.shields.io/codeclimate/github/trailsjs/trails-model.svg?style=flat-square\n[codeclimate-url]: https://codeclimate.com/github/trailsjs/trails-model\n[gitter-image]: http://img.shields.io/badge/+%20GITTER-JOIN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square\n[gitter-url]: https://gitter.im/trailsjs/trails\n[twitter-image]: https://img.shields.io/twitter/follow/trailsjs.svg?style=social\n[twitter-url]: https://twitter.com/trailsjs\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailsjs%2Ftrails-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrailsjs%2Ftrails-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailsjs%2Ftrails-model/lists"}