This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

liquidjs-barcode

1.0.3 • Public • Published

liquidjs-barcode

Plugin developed to generate barcode using liquify

Below the scenes, the plugin uses the bwip-js package, it is possible to use all configuration parameters.

Usage

npm i liquidjs-barcode
const { Liquid } = require("liquidjs");
const liquidjsBarcode = require("liquidjs-barcode");

const liquid = new Liquid();

liquid.plugin(liquidjsBarcode());

const template = `{{ barCode | barcode: "bcid: 'code128', scale: 3, height: 10, includetext: true, textxalign: 'center'" }}`;

const data = {
  barCode: "1234-foo"
};

const html = await liquid.parseAndRender(template, data);

/liquidjs-barcode/

    Package Sidebar

    Install

    npm i liquidjs-barcode

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.53 kB

    Total Files

    3

    Last publish

    Collaborators

    • leandrodaf