qrdude
v0.1.3
Published
This is a QR encode and decode tool
Downloads
4
Readme
qrdude
This is a utility library to get some help while using the goQR.me API to create a QR code from data.
Usage
So far the library allows to validate the data to make the request, just call the validateQrData
function.
Example (es module)
import { validateQrData } from 'qrdude'
const validation = validateQrData({
data: "some text",
...
})
if (validation.errors) {
//handle
} else {
//use data
validation.data...
}
TODO
- Create the URL to make the API call.
Notes
This is a toy library under development, it uses the TypeScript Starter project to setup the initial code.