{"id":19920794,"url":"https://github.com/odanado/realm-schema-to-typescript","last_synced_at":"2025-08-03T03:06:49.754Z","repository":{"id":43794257,"uuid":"209217478","full_name":"odanado/realm-schema-to-typescript","owner":"odanado","description":"Generate a code of TypeScript from Realm","archived":false,"fork":false,"pushed_at":"2022-12-10T03:20:03.000Z","size":183,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-10T08:33:43.606Z","etag":null,"topics":["codegenerator","realm","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/odanado.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-18T04:29:42.000Z","updated_at":"2019-11-11T17:35:57.000Z","dependencies_parsed_at":"2023-01-26T02:31:15.047Z","dependency_job_id":null,"html_url":"https://github.com/odanado/realm-schema-to-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/odanado/realm-schema-to-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odanado%2Frealm-schema-to-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odanado%2Frealm-schema-to-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odanado%2Frealm-schema-to-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odanado%2Frealm-schema-to-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odanado","download_url":"https://codeload.github.com/odanado/realm-schema-to-typescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odanado%2Frealm-schema-to-typescript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265596154,"owners_count":23794846,"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":["codegenerator","realm","typescript"],"created_at":"2024-11-12T22:06:02.692Z","updated_at":"2025-07-17T10:38:44.684Z","avatar_url":"https://github.com/odanado.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# realm-schema-to-typescript\n![](https://github.com/odanado/realm-schema-to-typescript/workflows/Node%20CI/badge.svg)\n\nGenerate a code of TypeScript from [Realm](https://realm.io/) \n\n## Installation and Usage\n\n### From CLI\n```bash\n$ npx realm-schema-to-typescript --input /path/to/file.realm --directory generated --moduleName module\n```\n\n### From TypeScript\n```ts\nimport { SchemaReader, Transpiler } from 'realm-schema-to-typescript';\n\nconst schemaReader = new SchemaReader();\nconst transpiler = new Transpiler();\n\nconst schema = await schemaReader.read('/path/to/file.realm');\nconst code = transpiler.transpile(schema, { moduleName: 'module' });\n\nconsole.log(code);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodanado%2Frealm-schema-to-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodanado%2Frealm-schema-to-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodanado%2Frealm-schema-to-typescript/lists"}