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

📝 설명 업데이트

+ Requirement 에 node.js 추가
This commit is contained in:
Byeon Seongun 2020-05-06 16:27:41 +09:00
parent 72d729b2e9
commit 01957550c9
No known key found for this signature in database
GPG Key ID: DA5BD8E6CBC00CC3

View File

@ -1,12 +1,20 @@
# konami-card-wasm
e-amusement card
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
```
빌드가 완료 된 후 build 폴더를 모듈처럼 사용하시면 됩니다!
## Usage
```node
import { KonamiCard } from 'konami-card';
KonamiCard.encode(nfcId).then(result => console.info(result));
KonamiCard.decode(cardId).then(result => console.info(result));
```