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:
parent
72d729b2e9
commit
01957550c9
12
README.md
12
README.md
@ -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));
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user