Skip to content

raynerpupo/qrdude

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published