{"id":19339079,"url":"https://github.com/smooth-code/factory-girl-objection-adapter","last_synced_at":"2025-04-23T02:30:26.543Z","repository":{"id":66076931,"uuid":"127518920","full_name":"smooth-code/factory-girl-objection-adapter","owner":"smooth-code","description":"Objection adapter for Factory Girl 👩‍🏭","archived":false,"fork":false,"pushed_at":"2020-03-14T12:43:06.000Z","size":198,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T06:22:18.236Z","etag":null,"topics":["factory-girl","factory-girl-adapter","knex","objection"],"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/smooth-code.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-03-31T09:37:14.000Z","updated_at":"2021-06-14T08:20:22.000Z","dependencies_parsed_at":"2023-03-10T23:36:31.843Z","dependency_job_id":null,"html_url":"https://github.com/smooth-code/factory-girl-objection-adapter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smooth-code%2Ffactory-girl-objection-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smooth-code%2Ffactory-girl-objection-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smooth-code%2Ffactory-girl-objection-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smooth-code%2Ffactory-girl-objection-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smooth-code","download_url":"https://codeload.github.com/smooth-code/factory-girl-objection-adapter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250357464,"owners_count":21417278,"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","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":["factory-girl","factory-girl-adapter","knex","objection"],"created_at":"2024-11-10T03:19:44.687Z","updated_at":"2025-04-23T02:30:26.178Z","avatar_url":"https://github.com/smooth-code.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# factory-girl-objection-adapter\n\n[![travis][travis-image]][travis-url]\n[![npm][npm-image]][npm-url]\n\n[travis-image]: https://img.shields.io/travis/smooth-code/factory-girl-objection-adapter/master.svg\n[travis-url]: https://travis-ci.org/smooth-code/factory-girl-objection-adapter\n[npm-image]: https://img.shields.io/npm/v/factory-girl-objection-adapter.svg\n[npm-url]: https://npmjs.org/package/factory-girl-objection-adapter\n\nThis module brings [objection](http://vincit.github.io/objection.js/) support to [factory-girl](https://github.com/aexmachina/factory-girl).\n\n```\nnpm install factory-girl-objection-adapter\n```\n\n## Usage\n\n```js\nimport { factory } from 'factory-girl'\nimport ObjectionAdapter from 'factory-girl-objection-adapter'\nimport User from './models/User'\n\nfactory.setAdapter(new ObjectionAdapter())\n\nfactory.define('user', User, {\n  name: factory.chance('name'),\n  email: factory.chance('email'),\n})\n\nexport default factory\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmooth-code%2Ffactory-girl-objection-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmooth-code%2Ffactory-girl-objection-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmooth-code%2Ffactory-girl-objection-adapter/lists"}