Socket
Socket
Sign inDemoInstall

ccarellice-react-native-barcode-generator

Package Overview
Dependencies
491
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ccarellice-react-native-barcode-generator

A package for generating a barcode on react native, compatible with Expo


Version published
Maintainers
1
Created

Readme

Source

React Native Barcode Generator

A package for generating a barcode on react native (based on jsbarcode), compatible with Expo.

Installation

Use the package manager npm to install ccarellice-react-native-barcode-generator.

npm install ccarellice-react-native-barcode-generator

You have to install jsbarcode too.

npm install jsbarcode

Usage

import Barcode component in your project

import Barcode from "ccarellice-react-native-barcode-generator/Barcode";
<Barcode value="9501101530003" options={{ format: 'EAN13', background: 'yellow' }}/>

The component inherits the options from JsBarcode

Result

Alt text

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

It's my first npm package, please give me feedbacks! Thank you very much!

License

MIT

FAQs

Last updated on 05 Jan 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc