0.0.4 • Published 10 years ago

js-barcode v0.0.4

Weekly downloads
12
License
-
Repository
-
Last release
10 years ago

Introduction

JsBarcode is a simple way to create different types of 1d barcodes.
The plugin uses Html5Canvas to generate draw the barcodes

This is the list of supported barcodes:

  • CODE128 (B)
  • EAN (13)
  • UPC-A
  • CODE39
  • ITF14

Installation

$ npm install js-barcode

Use

####A Html5Canvas barcode generator is included to draw the barcodes.

JsBarcode ({
	content:"Content",
	width:	2,
	height:	100,
	quite: 10,
	format:	"CODE128" //CODE128, CODE39, EAN, ITF14, UPC
}, function(err, png){
	res.writeHead(200, { 'Content-Type':'image/png' });
	res.end(png, 'binary');
});
0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago