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