{"id":17445969,"url":"https://github.com/jamen/wasmify","last_synced_at":"2026-03-11T17:02:51.356Z","repository":{"id":96785545,"uuid":"95965423","full_name":"jamen/wasmify","owner":"jamen","description":"Import WebAssembly code with Browserify.","archived":false,"fork":false,"pushed_at":"2018-03-09T19:20:14.000Z","size":48,"stargazers_count":44,"open_issues_count":0,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T09:42:25.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jamen.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":"2017-07-01T13:20:43.000Z","updated_at":"2023-11-02T03:43:32.000Z","dependencies_parsed_at":"2023-03-18T12:10:02.940Z","dependency_job_id":null,"html_url":"https://github.com/jamen/wasmify","commit_stats":{"total_commits":31,"total_committers":3,"mean_commits":"10.333333333333334","dds":0.4838709677419355,"last_synced_commit":"e63a5aef8ddf3f1c9f2d3e6f7b9ed8aea6c9b46c"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fwasmify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fwasmify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fwasmify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fwasmify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamen","download_url":"https://codeload.github.com/jamen/wasmify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234144429,"owners_count":18786361,"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":"2024-10-17T18:19:14.365Z","updated_at":"2025-09-25T01:31:04.862Z","avatar_url":"https://github.com/jamen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# wasmify\n\n\u003e Require WebAssembly modules with Browserify.\n\nUse this [Browserify plugin](https://browserify.org/) to import [WebAssembly binaries](http://webassembly.org/).\n\n## Install\n\n```sh\n$ npm i -D wasmify\n```\n\n## Usage\n\nSimply load the plugin:\n\n```sh\n$ browserify -p wasmify\n```\n\nWhich allows you to import `.wasm` files in your source:\n\n```js\nconst sampleModule = require('./sample.wasm')\n\nsampleModule(imports).then(sample =\u003e {\n  sample.instance.exports.main(12, 34)\n})\n```\n\n### Sync modules\n\nSmall modules (\u003c 4KB) can be imported synchronously through a `sync` option.\n\n```js\nb.plugin(wasmify, {\n  sync: [\n    'sample.wasm'\n    // ...\n  ]\n})\n```\n\nThis means that the exports can be accessed immediately.\n\n```js\nconst sampleModule = require('sample.wasm')\n\nconst sample = sampleModule(imports)\n\nsample.instance.exports.main(12, 34)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Fwasmify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamen%2Fwasmify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Fwasmify/lists"}