{"id":40765675,"url":"https://github.com/hazae41/wasm","last_synced_at":"2026-01-30T20:00:41.296Z","repository":{"id":324876579,"uuid":"1098903638","full_name":"hazae41/wasm","owner":"hazae41","description":"WebAssembly Binary Format (.wasm) decoder-modifier-encoder for TypeScript","archived":false,"fork":false,"pushed_at":"2025-11-18T09:51:20.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-18T11:25:50.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hazae41.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["hazae41"],"patreon":"hazae41"}},"created_at":"2025-11-18T09:46:45.000Z","updated_at":"2025-11-18T09:48:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hazae41/wasm","commit_stats":null,"previous_names":["hazae41/wasm"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hazae41/wasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fwasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fwasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fwasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fwasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazae41","download_url":"https://codeload.github.com/hazae41/wasm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fwasm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28918235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T19:10:10.838Z","status":"ssl_error","status_checked_at":"2026-01-30T19:06:40.573Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-21T18:00:26.198Z","updated_at":"2026-01-30T20:00:41.290Z","avatar_url":"https://github.com/hazae41.png","language":"TypeScript","funding_links":["https://github.com/sponsors/hazae41","https://patreon.com/hazae41"],"categories":["TypeScript"],"sub_categories":[],"readme":"# WASM\n\nWebAssembly Binary Format (.wasm) decoder-modifier-encoder for TypeScript\n\n```bash\nnpm install @hazae41/wasm\n```\n\n```bash\ndeno install jsr:@hazae41/wasm\n```\n\n[**📦 NPM**](https://www.npmjs.com/package/@hazae41/wasm) • [**📦 JSR**](https://jsr.io/@hazae41/wasm)\n\n## Features\n\n### Current features\n- 100% TypeScript and ESM\n- No external dependencies\n- Rust-like patterns\n- No validation done\n- Easily edit .wasm\n- Latest specification\n\n## Usage \n\n```tsx\nimport * as Wasm from \"@hazae41/wasm\"\nimport { Readable, Writable } from \"@hazae41/binary\"\nimport { readFileSync, writeFileSync } from \"node:fs\"\n\nconst module = Readable.readFromBytesOrThrow(Wasm.Module, readFileSync(\"./mod.wasm\"))\n\nconst imports = module.body.sections.find(section =\u003e section.kind === Wasm.ImportSection.kind)! as Wasm.ImportSection\n\nconsole.log(imports) // Show all imports\n\nconst start = module.body.sections.find(section =\u003e section.kind === Wasm.StartSection.kind)! as Wasm.StartSection\n\nstart.funcidx = 3 // Change start function\n\nwriteFileSync(\"./mod.wasm\", Writable.writeToBytesOrThrow(module))\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazae41%2Fwasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazae41%2Fwasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazae41%2Fwasm/lists"}