{"id":18441098,"url":"https://github.com/onesy-me/models","last_synced_at":"2026-01-31T21:02:10.945Z","repository":{"id":44306804,"uuid":"455155634","full_name":"onesy-me/models","owner":"onesy-me","description":"Models","archived":false,"fork":false,"pushed_at":"2024-12-12T22:32:40.000Z","size":423,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-23T01:41:19.873Z","etag":null,"topics":["amaui","back-end","backend","browser","express","front-end","frontend","javascript","js","library","model","models","node","nodejs","typescript","web"],"latest_commit_sha":null,"homepage":"https://docs.onesy.me/library/models","language":"TypeScript","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/onesy-me.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-03T12:25:56.000Z","updated_at":"2024-12-12T22:32:44.000Z","dependencies_parsed_at":"2023-11-08T00:16:09.469Z","dependency_job_id":"1fd60058-a9ea-4550-bd62-35d1e1d45863","html_url":"https://github.com/onesy-me/models","commit_stats":{"total_commits":48,"total_committers":1,"mean_commits":48.0,"dds":0.0,"last_synced_commit":"cce6b5ce7192458102042d268b73b1525ae4d565"},"previous_names":["onesy-me/models","amaui-org/amaui-models"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fmodels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fmodels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fmodels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Fmodels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onesy-me","download_url":"https://codeload.github.com/onesy-me/models/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247741140,"owners_count":20988340,"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":["amaui","back-end","backend","browser","express","front-end","frontend","javascript","js","library","model","models","node","nodejs","typescript","web"],"created_at":"2024-11-06T06:34:48.143Z","updated_at":"2026-01-31T21:02:10.940Z","avatar_url":"https://github.com/onesy-me.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003c/br\u003e\n\u003c/br\u003e\n\n\u003cp align='center'\u003e\n  \u003ca target='_blank' rel='noopener noreferrer' href='#'\u003e\n    \u003cimg width='auto' height='84' src='https://raw.githubusercontent.com/onesy-me/onesy/refs/heads/main/utils/images/logo.png' alt='onesy logo' /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align='center'\u003eonesy Models\u003c/h1\u003e\n\n\u003ch3 align='center'\u003e\n  \u003csub\u003eMIT license\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eProduction ready\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eUMD 4.2kb gzipped\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003e100% test cov\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eBrowser and Nodejs\u003c/sub\u003e\n\u003c/h3\u003e\n\n\u003cp align='center'\u003e\n    \u003csub\u003eVery simple code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eModern code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eJunior friendly\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eTypescript\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eMade with :yellow_heart:\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n### Add\n\n```sh\nyarn add @onesy/models \n```\n\n### Use\n\n```javascript\n  import express from 'express';\n  import { Query, Response } from '@onesy/models';\n\n  async function route(req: express.Request, res: express.Response) {\n    const query = Query.fromRequest(req);\n\n    const response = await todoCollection.searchMany(query);\n\n    return res.status(200).json(Response.fromQuery(response));\n  }\n\n  // etc.\n```\n\n### Dev\n\nInstall\n\n```sh\nyarn\n```\n\nTest\n\n```sh\nyarn test\n```\n\n### Prod\n\nBuild\n\n```sh\nyarn build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Fmodels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonesy-me%2Fmodels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Fmodels/lists"}