New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@barcode-bakery/barcode-react

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@barcode-bakery/barcode-react

Generates barcodes for React.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
197
increased by15.2%
Maintainers
1
Weekly downloads
 
Created
Source

Barcode Bakery · GitHub license

This repository allows you to generate 1D barcodes in React. You can find more information on our Barcode Bakery website.

The TypeScript library is under the Creative Commons Attribution-NoDerivatives 4.0 International.

Please consider doing a donation.

Installation

  • Run the following command:
$ npm install @barcode-bakery/barcode-react

or

$ yarn add @barcode-bakery/barcode-react

You can follow our developer's guide on our website to learn how to use our library.

Example

1D Barcode

import { BakeryCode128 } from '@barcode-bakery/barcode-react/1d';

export default function Home() {
  return <BakeryCode128 text="a123" thickness={30} scale={1} />;
}

Aztec

import { BakeryAztec } from '@barcode-bakery/barcode-react/aztec';

export default function Home() {
  return <BakeryAztec text="Aztec" scale={1} />;
}

Databar Expanded

import { BakeryDatabarexpanded } from '@barcode-bakery/barcode-react/databarexpanded';

export default function Home() {
  return <BakeryDatabarexpanded text="01900123456789083103001750" scale={1} />;
}

DataMatrix

import { BakeryDatamatrix } from '@barcode-bakery/barcode-react/datamatrix';

export default function Home() {
  return <BakeryDatamatrix text="DataMatrix" scale={1} />;
}

MaxiCode

import { BakeryMaxicode } from '@barcode-bakery/barcode-react/maxicode';

export default function Home() {
  return <BakeryMaxicode text="MaxiCode" scale={1} />;
}

PDF417

import { BakeryPdf417 } from '@barcode-bakery/barcode-react/pdf417';

export default function Home() {
  return <BakeryPdf417 text="PDF417" scale={1} />;
}

QRCode

import { BakeryQrcode } from '@barcode-bakery/barcode-react/qrcode';

export default function Home() {
  return <BakeryQrcode text="QRCode" scale={1} />;
}

Supported types

1D

2D

Keywords

FAQs

Package last updated on 06 Jun 2024

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

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