mirror of
https://github.com/kamyu1537/eamuse-card-wasm.git
synced 2024-11-27 21:10:48 +01:00
Convert e-amusement card ID and NFC ID to each other.
7de3517d7c
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.1 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.1...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
dist | ||
src | ||
.gitignore | ||
main.go | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
eamuse-card-wasm
Convert e-amusement card ID and NFC ID to each other.
Requirement
- go 1.14.2
- node.js
Build
npm install
npm run build
Usage
import KonamiCard from 'konami-card';
KonamiCard.encode(nfcId).then(result => console.info(result));
KonamiCard.decode(cardId).then(result => console.info(result));