mirror of
https://github.com/kamyu1537/eamuse-card-wasm.git
synced 2024-11-13 15:20:46 +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 |
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));