https://github.com/CatsMiaow/node-addon-typescript
Node.js WebAssembly and C++ addons TypeScript example
https://github.com/CatsMiaow/node-addon-typescript
assemblyscript node node-addon node-addon-api nodejs typescript wasmer webassembly
Last synced: about 1 month ago
JSON representation
Node.js WebAssembly and C++ addons TypeScript example
- Host: GitHub
- URL: https://github.com/CatsMiaow/node-addon-typescript
- Owner: CatsMiaow
- Created: 2019-06-04T10:09:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T10:01:15.000Z (about 1 year ago)
- Last Synced: 2024-07-29T16:58:22.421Z (9 months ago)
- Topics: assemblyscript, node, node-addon, node-addon-api, nodejs, typescript, wasmer, webassembly
- Language: TypeScript
- Homepage:
- Size: 289 KB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-addon-typescript
Node.js WebAssembly and C++ addons TypeScript example
## Configure
```sh
npm ci
npm run addon:init
```## Build
```sh
npm run addon:build # cpp
npm run asbuild # assembly
```## Run
```sh
npx tsx src/index
# OR
npm start
```### Documentation
* [Node.js C++ Addons](https://nodejs.org/api/addons.html)
* [Node.js C++ Addons Examples](https://github.com/nodejs/node-addon-examples)
* [Module for using N-API from C++](https://github.com/nodejs/node-addon-api)
* [AssemblyScript](https://www.assemblyscript.org)
* [Wasmer](https://wasmer.io)