Socket
Socket
Sign inDemoInstall

ngx-kjua

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-kjua - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "ngx-kjua",
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

@@ -16,2 +16,4 @@ [![NPM version](https://img.shields.io/npm/v/ngx-kjua.svg?&label=npm)](https://www.npmjs.com/package/ngx-kjua)

[StackBlitz](https://stackblitz.com/edit/ngx-kjua-batch?file=app/app.component.html) Example with 300 codes at once (async rendering) _(preview needs to be opened in new window)_
## Installation

@@ -98,7 +100,10 @@

More details can be found on [larsjung.de/kjua](https://larsjung.de/kjua/)
### Async rendering
If you plan to render more than one barcode (e.g. batch-generation) I recommend using `renderAsync`-flag. It executes the rendering inside a "requestAnimationFrame"-call.
## TODO
* Add an example for `renderAsync` where lots of codes are generated
* Show how to generate a PDF with codes using [jsPDF](https://github.com/MrRio/jsPDF)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc