konmai card nfc id encode/decode library
.husky | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
.npmignore | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
@kamyu/nfc2card
Konmai Card NFC ID encode/decode library
Installation
npm i @kamyu/nfc2card
Build
npm run build
Usage
Javascript
const { encode, decode } = require('@kamyu/nfc2card');
encode('NFC ID'); // => 'CARD ID'
decode('CARD ID'); // => 'NFC ID'
Typescript
import { encode, decode } from '@kamyu/nfc2card';
encode('NFC ID'); // => 'CARD ID'
decode('CARD ID'); // => 'NFC ID'