{"id":14960764,"url":"https://github.com/filipemeneses/unity-to-json","last_synced_at":"2025-10-24T19:30:20.659Z","repository":{"id":193285954,"uuid":"688496227","full_name":"filipemeneses/unity-to-json","owner":"filipemeneses","description":"NPM package to convert unity scene and FBX files into JSON","archived":false,"fork":false,"pushed_at":"2023-09-09T13:47:43.000Z","size":1417,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-27T23:21:13.372Z","etag":null,"topics":["threejs","unity","unity-editor","unity3d"],"latest_commit_sha":null,"homepage":"","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/filipemeneses.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":"2023-09-07T13:16:49.000Z","updated_at":"2023-11-22T07:06:24.000Z","dependencies_parsed_at":"2024-09-22T11:30:57.833Z","dependency_job_id":null,"html_url":"https://github.com/filipemeneses/unity-to-json","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"963ffadd2faddb1aa661856c94b960ed1c06c41b"},"previous_names":["filipemeneses/unity-to-json"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipemeneses%2Funity-to-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipemeneses%2Funity-to-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipemeneses%2Funity-to-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipemeneses%2Funity-to-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filipemeneses","download_url":"https://codeload.github.com/filipemeneses/unity-to-json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219868059,"owners_count":16555878,"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":["threejs","unity","unity-editor","unity3d"],"created_at":"2024-09-24T13:22:56.157Z","updated_at":"2025-10-24T19:30:20.311Z","avatar_url":"https://github.com/filipemeneses.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unity-to-json\n\nNode.js package to convert Unity scene and FBX files into JSON\n\n---\n\n[![npm package][npm-img]][npm-url]\n[![Build Status][build-img]][build-url]\n[![Issues][issues-img]][issues-url]\n[![Code Coverage][codecov-img]][codecov-url]\n[![Commitizen Friendly][commitizen-img]][commitizen-url]\n[![Semantic Release][semantic-release-img]][semantic-release-url]\n\n\n## Install\n\n```bash\nnpm install unity-to-json\n```\n\n```bash\nyarn add unity-to-json\n```\n\n## Usage\n\n### Generate files once\n\n```js\nimport path from 'path';\nimport { convertUnityProjectToJson } from 'unity-to-json';\n\nconst {\n  version,\n  files\n} = await convertUnityProjectToJson({\n  unityProjectRootFolderPath: path.resolve('../path/to/unity-project-root'),\n});\n```\n\n### Generate files and watch for changes\n\n```js\nimport path from 'path';\nimport { convertUnityProjectToJson, interpretScene } from 'unity-to-json';\n\ncreateUnityProjectToJsonWatcher({\n  unityProjectRootFolderPath: path.resolve('../path/to/unity-project-root'),\n  sceneFilename: 'SampleScene.unity',\n  onSceneChange({ version , files }) =\u003e {\n    // files = all FBX, Unity, Meta files\n  }\n});\n```\n\n## Examples\n\n- [Svelte + Vite + Typescript + Three.js](https://github.com/filipemeneses/svelte-vite-unity-threejs)\n\n\n[build-img]:https://github.com/filipemeneses/unity-to-json/actions/workflows/release.yml/badge.svg\n[build-url]:https://github.com/filipemeneses/unity-to-json/actions/workflows/release.yml\n[downloads-img]:https://img.shields.io/npm/dt/unity-to-json\n[npm-img]:https://img.shields.io/npm/v/unity-to-json\n[npm-url]:https://www.npmjs.com/package/unity-to-json\n[issues-img]:https://img.shields.io/github/issues/filipemeneses/unity-to-json\n[issues-url]:https://github.com/filipemeneses/unity-to-json/issues\n[codecov-img]:https://codecov.io/gh/filipemeneses/unity-to-json/branch/main/graph/badge.svg\n[codecov-url]:https://codecov.io/gh/filipemeneses/unity-to-json\n[semantic-release-img]:https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-release-url]:https://github.com/semantic-release/semantic-release\n[commitizen-img]:https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\n[commitizen-url]:http://commitizen.github.io/cz-cli/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipemeneses%2Funity-to-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilipemeneses%2Funity-to-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipemeneses%2Funity-to-json/lists"}