{"id":13602160,"url":"https://github.com/sumukhbarve/monoduck","last_synced_at":"2025-04-11T08:31:40.069Z","repository":{"id":57148045,"uuid":"469320207","full_name":"sumukhbarve/monoduck","owner":"sumukhbarve","description":"Monoduck includes Lookduck (React state manager), Tapiduck (fully typed APIs), and more! 🦆","archived":false,"fork":false,"pushed_at":"2023-10-29T17:39:18.000Z","size":1566,"stargazers_count":27,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-09T17:03:05.664Z","etag":null,"topics":["api","monolith","reactjs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sumukhbarve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-03-13T09:06:13.000Z","updated_at":"2025-03-08T03:51:21.000Z","dependencies_parsed_at":"2022-09-06T17:01:35.324Z","dependency_job_id":"1c6be48e-3945-48b0-8ebf-bd671370856f","html_url":"https://github.com/sumukhbarve/monoduck","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumukhbarve%2Fmonoduck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumukhbarve%2Fmonoduck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumukhbarve%2Fmonoduck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumukhbarve%2Fmonoduck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumukhbarve","download_url":"https://codeload.github.com/sumukhbarve/monoduck/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248361562,"owners_count":21090932,"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":["api","monolith","reactjs","typescript"],"created_at":"2024-08-01T18:01:15.476Z","updated_at":"2025-04-11T08:31:39.611Z","avatar_url":"https://github.com/sumukhbarve.png","language":"TypeScript","funding_links":[],"categories":["api"],"sub_categories":[],"readme":"# Monoduck\n\n### What is it?\n\n- Monoduck is a Typescript-first, monolithic repository of subpackages.\n- To avoid bloat, it has absolutely no `dependencies`, and all `peerDependencies` are _optional_.\n- And to keep things tree-shakable, only named exports are used.\n\n### Production Readiness\n\n- Monoduck is not generally ready for production use, but it's getting there.\n- However, it should be stable enough for use in internal apps, and POCs.\n\n### What's included?\n\n- [**Lookduck**](/src/lookduck/README.md): React state manager with automatic dependency management for derived state.\n- [**Tapiduck**](/src/tapiduck/README.md): End-to-end type-safe APIs with fullstack intillisense. Simple and restful-ish.\n- [**Patchduck**](/src/patchduck/README.md): TS-first, React-friendly utility for deep-patching (deep-spreading) objects.\n- [**Utilduck**](/src/utilduck/README.md): Commonly used, Underscore-style, typed utils like `_.map`, `_.deepClone`, etc.\n- [**Sqlduck**](/src/sqlduck/README.md): A thin Sequelize wrapper. Plays well with Zod. Prioritizes simplicity \u0026 type-safety.\n- [**Roqsduck**](/src/roqsduck/README.md): Intentionally simple, query-string based, client-side routing for React apps.\n\n### Code Style \u0026 Preferences\n\nMonoduck uses `ts-standard` for code-styling and linting. This way, one needn't manually configure lint rules. The codebase also has a few additional conventions, listed below. While most of these conventions are not strict requirements, the codebase tries to follow all of them.\n\n- Prefer functions over classes.\n- Mildly prefer interfaces over types, but prefer types for functions.\n- Avoid `this`. If unavoidable, go with `const self = this` and use `self`.\n- Prefer `function` over `=\u003e`. (Latter is OK for one-liners like `x =\u003e x + 1`)\n- Prefer named exports over default exports, and avoid `*` imports.\n- Prefer `unknown` over `any`. For return types, prefer `void` over `unknown`.\n- Prefer `const` over `let`, and don't use `var`.\n- Bool vars should begin with `is`, `has`, etc. (eg. `isAdmin`, `hasAccess`)\n- Functions that return bools should end with `is`, `has`, etc. (eg. `oddIs`)\n- Strictly prefer `===` over `==`. Never use `==`, not even `== null`.\n- Prefer `if`..`else` over `switch`. (Latter is OK if each `case` just returns.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumukhbarve%2Fmonoduck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumukhbarve%2Fmonoduck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumukhbarve%2Fmonoduck/lists"}