{"id":28444094,"url":"https://github.com/assemblyscript/node","last_synced_at":"2025-07-06T14:32:05.044Z","repository":{"id":66051018,"uuid":"197036299","full_name":"AssemblyScript/node","owner":"AssemblyScript","description":"Implementations of the node.js APIs for use with AssemblyScript.","archived":false,"fork":false,"pushed_at":"2021-06-01T15:33:35.000Z","size":104,"stargazers_count":66,"open_issues_count":11,"forks_count":10,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-29T07:34:49.157Z","etag":null,"topics":["assemblyscript","nodejs","wasi","wasm","webassembly"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AssemblyScript.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}},"created_at":"2019-07-15T16:37:24.000Z","updated_at":"2025-02-21T05:50:56.000Z","dependencies_parsed_at":"2023-03-13T20:31:03.430Z","dependency_job_id":null,"html_url":"https://github.com/AssemblyScript/node","commit_stats":{"total_commits":21,"total_committers":4,"mean_commits":5.25,"dds":0.5238095238095238,"last_synced_commit":"bbd353ffbf2a7180ad6979a5f9a5bd91e677acb6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AssemblyScript/node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyScript%2Fnode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyScript%2Fnode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyScript%2Fnode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyScript%2Fnode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AssemblyScript","download_url":"https://codeload.github.com/AssemblyScript/node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyScript%2Fnode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263917171,"owners_count":23529541,"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":["assemblyscript","nodejs","wasi","wasm","webassembly"],"created_at":"2025-06-06T08:40:46.160Z","updated_at":"2025-07-06T14:32:04.997Z","avatar_url":"https://github.com/AssemblyScript.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![AS](https://avatars1.githubusercontent.com/u/28916798?s=48) node\n======================\n\nImplementations of the node.js APIs for AssemblyScript, utilizing [WASI](https://wasi.dev).\n\nIntroduction\n------------\n\nThis library aims to provide a convenient node.js-like environment for AssemblyScript programs.\nPlease note that it is still in its early stages and that both the library and WASI are not even\nclose to be finalized.\n\nAs always, if the idea sounds appealing to you, feel free to improve existing APIs or to contribute\nadditional ones.\n\nInstructions\n------------\n\nInstall the library components as a dependency of your project\n\n```\n$\u003e npm install --save-dev AssemblyScript/node\n```\n\nand include it in your build step to gain access to the implementations it provides:\n\n```\n$\u003e asc --lib ./node_modules/@assemblyscript/node/assembly [...]\n```\n\nDoing so will automatically register common globals like the `Buffer` class and enables requiring\nfor example the filesystem module through `import * as fs from \"fs\"`.\n\nDocumentation\n-------------\n\n* [Status and API documentation on the wiki](https://github.com/AssemblyScript/node/wiki)\n* [Implementation sources](./assembly)\n\nBuilding\n--------\n\nTo run the tests, first make sure that development dependencies are installed, then run:\n\n```\n$\u003e npm test\n```\n\nOne of the dependencies is [node-wasi](https://github.com/devsnek/node-wasi), which is a native\nmodule. If you are running into issues when compiling it (on Windows), make sure that node-wasi\nsupports your version of node.js, that your machine can build native modules in the first place\nand that your version of npm is recent (`npm install npm@latest -g`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemblyscript%2Fnode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassemblyscript%2Fnode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemblyscript%2Fnode/lists"}