AssemblyScript /assemblyscript
A TypeScript-like language for WebAssembly.
★ 18,044⑂ 697👁 186⑃ 1,534● 1,501▤ 221
+1
日增长
18,044
stars
697
forks
186
watchers
1,534
prs
1,501
issues
221
releases
README
AssemblyScript compiles a variant of TypeScript (basically JavaScript with types) to WebAssembly using Binaryen. It generates lean and mean WebAssembly modules while being just an npm install away. About · Getting started · Examples · Built with AssemblyScript Contributors Thanks to our sponsors! Most of the maintainers and contributors do this open source work in their free time. If you use AssemblyScript for a serious task or plan to do so, and you'd like us to invest more time on it, please donate to our OpenCollective. By sponsoring this project, your logo will show up below. Thank you so much for your support! Development instructions A development environment can be set up by cloning the repository: sh git clone https://github.com/AssemblyScript/assemblyscript.git cd assemblyscript npm install npm link The link step is optional and makes the development instance available globally. The full process is documented as part of the repository: Compiler instructions Runtime instructions Test instructions
Top issues
#798Implement closures95 comments · 2019-08-28#1003Consider a file extension other than .ts56 comments · 2019-12-12#1653Switch AssemblyScript to UTF-8 by default?53 comments · 2021-02-01#292Support for serialization and deserialization of JSON53 comments · 2018-10-03#1973improving nullability flow checking36 comments · 2021-07-12#1487Encourage effective use of Unicode36 comments · 2020-10-05#1363Suggestion: simple type-checked pointer primitive34 comments · 2020-06-27#816Investigate method & constructor overloading (AdHoc Polymorphism)25 comments · 2019-09-04
Latest release
v0.28.20 v0.28.20 2026-07-22Bug fixes optimize dayOfWeek & dateFromEpoch routines in date (3033) (9ca63f2ff046258afbf360d7bc147665882f8258) Other chore: Update Binaryen and other dependencies (3035) (b6bda05c29c9eb7d07d7f6cb2703508483b30493) chore: Update binaryen, esbuild & other dependencies (3032) (282903732b48ddb2e268092384969e0c1ecfb12b)