1
0
mirror of https://github.com/kamyu1537/eamuse-card-wasm.git synced 2024-11-24 03:50:10 +01:00
eamuse-card-wasm/README.md

21 lines
355 B
Markdown
Raw Normal View History

2020-04-04 09:02:59 +02:00
# konami-card-wasm
Convert e-amusement card ID and NFC ID to each other.
2020-04-04 09:02:59 +02:00
## Requirement
2020-05-06 09:16:58 +02:00
- go 1.14.2
- node.js
2020-04-04 09:02:59 +02:00
## Build
```shell script
2020-05-06 09:16:58 +02:00
npm install
npm run build
2020-04-04 09:02:59 +02:00
```
## Usage
```node
import KonamiCard from 'konami-card';
KonamiCard.encode(nfcId).then(result => console.info(result));
KonamiCard.decode(cardId).then(result => console.info(result));
```