1
0
mirror of https://github.com/kamyu1537/eamuse-card-wasm.git synced 2025-02-17 11:18:38 +01:00
eamuse-card-wasm/README.md

21 lines
359 B
Markdown
Raw Normal View History

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