qrdude
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

qrdude

Build Status codecov

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.

Readme

Keywords

Package Sidebar

Install

npm i qrdude

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

34.4 kB

Total Files

20

Last publish

Collaborators

  • rayner