A TypeScript-like language for WebAssembly.



AssemblyScript logo

Test status Publish status npm compiler version npm loader version Discord online

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  ·  Introduction  ·  Quick start  ·  Examples  ·  Development instructions


Contributor logos

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!

Sponsor logos

Development instructions

A development environment can be set up by cloning the repository:

  1. ```sh
  2. git clone
  3. cd assemblyscript
  4. npm install
  5. npm link
  6. ```

The link step is optional and makes the development instance available globally. The full process is documented as part of the repository: