mirror of
https://github.com/kamyu1537/eamuse-card-wasm.git
synced 2024-11-23 19:40:57 +01:00
Convert e-amusement card ID and NFC ID to each other.
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));