https://github.com/dead-beef/jest-cpp-wasm
C/C++ to WASM Jest transformer
https://github.com/dead-beef/jest-cpp-wasm
c cpp emscripten jest jest-transformer nodejs webassembly
Last synced: 2 months ago
JSON representation
C/C++ to WASM Jest transformer
- Host: GitHub
- URL: https://github.com/dead-beef/jest-cpp-wasm
- Owner: dead-beef
- License: mit
- Created: 2020-09-11T02:17:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-02T15:04:36.000Z (over 4 years ago)
- Last Synced: 2025-09-25T20:40:55.040Z (9 months ago)
- Topics: c, cpp, emscripten, jest, jest-transformer, nodejs, webassembly
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jest-cpp-wasm
[](
https://www.npmjs.com/package/jest-cpp-wasm
) [](
https://nodejs.org/
) [](
https://libraries.io/npm/jest-cpp-wasm/
) [](
https://github.com/dead-beef/jest-cpp-wasm/blob/master/LICENSE
)
## Overview
C/C++ to WASM Jest transformer.
## Requirements
- [`Node.js`](https://nodejs.org/)
- [`NPM`](https://nodejs.org/)
- [`Emscripten`](https://emscripten.org/)
## Installation
```bash
npm install jest-cpp-wasm
```
## Usage
```js
transform: {
'^.+\\.(c|cpp)$': ['jest-cpp-wasm', {
// options
}],
},
```
[`Options`](https://github.com/ClickSimply/cpp-wasm-loader#webpack-options)
## Licenses
* [`jest-cpp-wasm`](https://github.com/dead-beef/jest-cpp-wasm/blob/master/LICENSE)