1
0
mirror of synced 2024-11-23 22:20:57 +01:00
konmai card nfc id encode/decode library
Go to file
2022-05-30 03:29:16 +09:00
.husky first commit 2022-03-14 15:07:52 +09:00
src first commit 2022-03-14 15:07:52 +09:00
.eslintrc.js first commit 2022-03-14 15:07:52 +09:00
.gitignore first commit 2022-03-14 15:07:52 +09:00
.npmignore first commit 2022-03-14 15:07:52 +09:00
LICENSE Create LICENSE 2022-05-30 03:29:16 +09:00
package-lock.json first commit 2022-03-14 15:07:52 +09:00
package.json add prepublish script 2022-03-14 15:12:11 +09:00
README.md first commit 2022-03-14 15:07:52 +09:00
tsconfig.json first commit 2022-03-14 15:07:52 +09:00

@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'