{"id":23841745,"url":"https://github.com/playerony/wasm-loader","last_synced_at":"2025-07-01T08:08:45.523Z","repository":{"id":47501277,"uuid":"400196581","full_name":"playerony/wasm-loader","owner":"playerony","description":"Wrapper for @assemblyscript/loader package to support older versions of Safari (desktop [3.1 - 14.1] / mobile [11 - 14.7])","archived":false,"fork":false,"pushed_at":"2021-08-28T15:37:18.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-19T13:19:34.322Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playerony.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":"2021-08-26T14:24:24.000Z","updated_at":"2021-08-30T11:38:16.000Z","dependencies_parsed_at":"2022-08-24T11:01:18.908Z","dependency_job_id":null,"html_url":"https://github.com/playerony/wasm-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/playerony/wasm-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerony%2Fwasm-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerony%2Fwasm-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerony%2Fwasm-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerony%2Fwasm-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playerony","download_url":"https://codeload.github.com/playerony/wasm-loader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playerony%2Fwasm-loader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260419209,"owners_count":23006231,"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":[],"created_at":"2025-01-02T18:01:39.600Z","updated_at":"2025-06-17T18:34:27.352Z","avatar_url":"https://github.com/playerony.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wasm-loader\n\nWrapper for [@assemblyscript/loader](https://www.npmjs.com/package/@assemblyscript/loader) package to support older versions of Safari (desktop [3.1 - 14.1] / mobile [11 - 14.7])\n\n- [API Docs](https://playerony.github.io/wasm-loader)\n\n- [can I use - instantiate](https://caniuse.com/?search=instantiate)\n\n- [can I use - instantiateStreaming](https://caniuse.com/?search=instantiateStreaming)\n\n# Installation ([npm](https://www.npmjs.com/package/@playerony/wasm-loader))\n\n```\nnpm i @playerony/wasm-loader\n```\n\n```\nyarn add @playerony/wasm-loader\n```\n\n# Usage\n\n```js\nimport getWasmLoader from '@playerony/wasm-loader';\n\nconst defaultImports = {\n  index: {\n    log(valueA, valueB) {\n      console.log(valueA, valueB);\n    },\n  },\n};\n\nconst wasmLoader = getWasmLoader(defaultImports);\n\nconst { memory, ...otherPropsYouDefinedInWasmFile } = await wasmLoader('/build/optimized.wasm');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayerony%2Fwasm-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplayerony%2Fwasm-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayerony%2Fwasm-loader/lists"}