Comparing version 9.0.4 to 9.0.5
{ | ||
"name": "qreate", | ||
"version": "9.0.4", | ||
"version": "9.0.5", | ||
"description": "QR Code generator for browser and node.js with tree shaking and logo support", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Short-io/qr-image", |
@@ -1,8 +0,8 @@ | ||
# @shortcm/qr-image | ||
# Qreate | ||
[![npm version](https://badge.fury.io/js/%40shortcm%2Fqr-image.svg)](https://badge.fury.io/js/%40shortcm%2Fqr-image) | ||
[![npm version](https://badge.fury.io/js/qreate.svg)](https://badge.fury.io/js/qreate) | ||
QR Code generator for browser and node.js with tree shaking and logo support (based on [alexeyten/qr-image](https://github.com/alexeyten/qr-image)). | ||
QR Code generator for browser and node.js with tree shaking and logo support | ||
![image](https://github.com/Short-io/qr-image/assets/75169/02b84738-56f2-44d8-8d11-f40e263302ed) | ||
![image](https://github.com/Short-io/qreate/assets/75169/02b84738-56f2-44d8-8d11-f40e263302ed) | ||
@@ -19,3 +19,3 @@ ## Overview | ||
[Releases](https://github.com/Short-io/qr-image/releases) | ||
[Releases](https://github.com/Short-io/qreate/releases) | ||
@@ -25,5 +25,5 @@ ## Installing | ||
```shell | ||
npm install @shortcm/qr-image | ||
npm install qreate | ||
# or | ||
yarn add @shortcm/qr-image | ||
yarn add qreate | ||
``` | ||
@@ -36,5 +36,5 @@ | ||
```javascript | ||
import { getSVG } from "@shortcm/qr-image/lib/svg"; | ||
import { getPNG } from "@shortcm/qr-image/lib/png"; // imports canvas implementation in browser and sharp module in node.js | ||
import { getPDF } from "@shortcm/qr-image/lib/pdf"; // this import is large, consider async import | ||
import { getSVG } from "qreate/lib/svg"; | ||
import { getPNG } from "qreate/lib/png"; // imports canvas implementation in browser and sharp module in node.js | ||
import { getPDF } from "qreate/lib/pdf"; // this import is large, consider async import | ||
const svgString = await getSVG("I love QR", { | ||
@@ -41,0 +41,0 @@ logo: fs.openFileSync("my-logo.svg"), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3799875