Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

Node.js WebAssembly and C++ addons TypeScript example

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)