{"id":24946598,"url":"https://github.com/stiledevs/rtpackjs","last_synced_at":"2025-07-21T19:32:50.726Z","repository":{"id":65184920,"uuid":"585659295","full_name":"StileDevs/RTPackJS","owner":"StileDevs","description":"Converting a texture image into ProtonSDK (rttex) standard texture.","archived":false,"fork":false,"pushed_at":"2023-04-26T01:54:15.000Z","size":365,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T11:33:22.039Z","etag":null,"topics":[],"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/StileDevs.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-01-05T18:33:57.000Z","updated_at":"2025-04-22T00:07:22.000Z","dependencies_parsed_at":"2024-10-23T06:47:38.458Z","dependency_job_id":"a50a94de-7ce4-42a0-bf72-d7aa1328f926","html_url":"https://github.com/StileDevs/RTPackJS","commit_stats":null,"previous_names":["stiledevs/rtpackjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StileDevs/RTPackJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StileDevs%2FRTPackJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StileDevs%2FRTPackJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StileDevs%2FRTPackJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StileDevs%2FRTPackJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StileDevs","download_url":"https://codeload.github.com/StileDevs/RTPackJS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StileDevs%2FRTPackJS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266365006,"owners_count":23918025,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-02-02T20:57:50.041Z","updated_at":"2025-07-21T19:32:50.657Z","avatar_url":"https://github.com/StileDevs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RTPackJS\n\n\u003e Converting a texture image into ProtonSDK standard texture.\n\n## Requirements\n\n- Node.js v14+\n\n## Installing\n\nnpm\n\n`npm install rtpackjs`\n\nor using yarn\n\n`yarn add rtpackjs`\n\n## Example\n\n```js\nconst { RTTEX } = require(\"rtpackjs\");\nconst { writeFileSync, readFileSync } = require(\"fs\");\n\nconst sample = readFileSync(\"./test/image.rttex\");\n\n(async () =\u003e {\n  const decoded = await RTTEX.decode(sample);\n  writeFileSync(\"./test/image.png\", decoded);\n\n  const encoded = await RTTEX.encode(decoded);\n  writeFileSync(\"./test/new_image.rttex\", encoded);\n})();\n\n(async () =\u003e {\n  const rttex = new RTTEX(sample);\n\n  console.log(rttex);\n  console.log(rttex.parseRTPACK());\n  console.log(rttex.parseRTTXTR());\n})();\n```\n\n## Credits\n\n- [ProtonSDK](https://github.com/SethRobinson/proton/)\n- [ZTzTopia (RTTEXConverterJS)](https://github.com/ZTzTopia/RTTEXConverterJS)\n- [GuckTubeYT (RTTEXConverter)](https://github.com/GuckTubeYT/RTTEXConverter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstiledevs%2Frtpackjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstiledevs%2Frtpackjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstiledevs%2Frtpackjs/lists"}