mirror of
https://github.com/kamyu1537/eamuse-card-wasm.git
synced 2024-11-27 21:10:48 +01:00
355 B
355 B
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));