Javascript bindings (#14)

* Initial version ready

- bindings are in `bindings/emscripten.cpp`
- minimal Javascript example is in `examples/ggwave-js`

* add npm package + add test-ggwave.js

* js : rename export name to "ggwave_factory"

* update to v0.1.5

* Update README.md

* npm : add npm-publish target
This commit is contained in:
Georgi Gerganov
2021-01-24 17:25:58 +02:00
committed by GitHub
parent 105e0fd48d
commit 19f353018d
19 changed files with 485 additions and 57 deletions

View File

@@ -0,0 +1,26 @@
{
"name": "ggwave",
"version": "0.1.5",
"description": "Tiny data-over-sound library",
"main": "ggwave.js",
"scripts": {
"test": "echo \"todo: add tests\" && exit 0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ggerganov/ggwave.git"
},
"keywords": [
"data-over-sound",
"fsk",
"sound-library",
"ultrasound",
"ecc"
],
"author": "Georgi Gerganov",
"license": "MIT",
"bugs": {
"url": "https://github.com/ggerganov/ggwave/issues"
},
"homepage": "https://github.com/ggerganov/ggwave#readme"
}