mirror of
https://github.com/kamyu1537/eamuse-card-wasm.git
synced 2025-02-17 11:18:38 +01:00
21 lines
355 B
Markdown
21 lines
355 B
Markdown
# konami-card-wasm
|
|
Convert e-amusement card ID and NFC ID to each other.
|
|
|
|
## Requirement
|
|
- go 1.14.2
|
|
- node.js
|
|
|
|
## Build
|
|
```shell script
|
|
npm install
|
|
npm run build
|
|
```
|
|
|
|
## Usage
|
|
```node
|
|
import KonamiCard from 'konami-card';
|
|
|
|
KonamiCard.encode(nfcId).then(result => console.info(result));
|
|
KonamiCard.decode(cardId).then(result => console.info(result));
|
|
```
|