Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joseluisq/assemblyscript-module-example
Small example of a WebAssembly module written in Typescript (AssemblyScript) and used from NodeJS.
https://github.com/joseluisq/assemblyscript-module-example
assemblyscript nodejs typescript webassembly
Last synced: 5 days ago
JSON representation
Small example of a WebAssembly module written in Typescript (AssemblyScript) and used from NodeJS.
- Host: GitHub
- URL: https://github.com/joseluisq/assemblyscript-module-example
- Owner: joseluisq
- Created: 2019-06-24T20:32:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-24T20:44:44.000Z (over 5 years ago)
- Last Synced: 2024-05-23T02:02:51.137Z (7 months ago)
- Topics: assemblyscript, nodejs, typescript, webassembly
- Language: WebAssembly
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AssemblyScript Module Example
> Small example of a [WebAssembly](https://webassembly.org/) module written in Typescript ([AssemblyScript](https://github.com/AssemblyScript/assemblyscript)) and used from [NodeJS](https://nodejs.org/en/).
_This example was presented in [NodeJS Meetup Leipzig #6: WebAssembly and NodeJS](https://www.meetup.com/de-DE/NodeJS-Meetup-Leipzig/events/262224036/)._
## Install
```sh
yarn
```## Usage
__1. Compile to WebAssembly__
```sh
yarn asbuild
```__2. Run NodeJS test__
```sh
yarn test
```## Contributions
[Pull requests](https://github.com/joseluisq/assemblyscript-example/pulls) and [issues](https://github.com/joseluisq/assemblyscript-example/issues) are welcome.
## License
MIT license© 2019 [Jose Quintana](http://git.io/joseluisq)