šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Book a DemoInstallSign in
Socket

@chenfengyuan/vue-barcode

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chenfengyuan/vue-barcode

Bar code component for Vue 3.

2.0.2
latest
Source
npm
Version published
Weekly downloads
5.8K
27.99%
Maintainers
1
Weekly downloads
Ā 
Created
Source

vue-barcode

Coverage Status Downloads Version Gzip Size

Bar code component for Vue 3, bases on JsBarcode. For Vue 2, check out the v1 branch.

  • Docs
  • Demo

Main npm package files

dist/
ā”œā”€ā”€ vue-barcode.js         (UMD, default)
ā”œā”€ā”€ vue-barcode.min.js     (UMD, compressed)
ā”œā”€ā”€ vue-barcode.esm.js     (ECMAScript Module)
ā”œā”€ā”€ vue-barcode.esm.min.js (ECMAScript Module, compressed)
└── vue-barcode.d.ts       (TypeScript Declaration File)

Getting started

Installation

Using npm:

npm install jsbarcode@3 @chenfengyuan/vue-barcode@2

Using pnpm:

pnpm add jsbarcode@3 @chenfengyuan/vue-barcode@2

Using Yarn:

yarn add jsbarcode@3 @chenfengyuan/vue-barcode@2

Using CDN:

<script src="https://unpkg.com/vue@3"></script><!-- Vue.js is required -->
<script src="https://unpkg.com/jsbarcode@3/dist/JsBarcode.all.min.js"></script><!-- JsBarcode is required -->
<script src="https://unpkg.com/@chenfengyuan/vue-barcode@2"></script>

Usage

import { createApp } from 'vue';
import VueBarcode from '@chenfengyuan/vue-barcode';

const app = createApp({});

app.component(VueBarcode.name, VueBarcode);
<vue-barcode  value="Hello, World!" :options="{ displayValue: false }"></vue-barcode>

Browser support

Same as Vue 3.

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT Ā© Chen Fengyuan

Keywords

barcode

FAQs

Package last updated on 12 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts