Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
app-barcode-generator
Advanced tools
React native components for generating barcode and QRcode. The library provides two components according to the type of code you need to create
npm i @janiscommerce/app-barcode-generator
import {Barcode} from '@janiscommerce/app-barcode-generator';
import {Text} from 'react-native';
<Barcode value="1234534" format="EAN8" />;
<Barcode value="1234534" format="EAN8" text={<Text>1234534</Text>} />;
<Barcode value="1234534" format="EAN8" onError={(error) => console.log(error)} />;
Prop | Type | Description | default value | required |
---|---|---|---|---|
value | string | value to create barcode | yes | |
format | string | format of barcode. See barcode type | yes | |
text | function | React native component to show value below barcode | no | |
backgroundColor | string | Background color for barcode | #FFF | no |
onError | function | Callback to execute when has error | no |
import {QRCode} from '@janiscommerce/app-barcode-generator';
<QRCode value="1234534" />;
<QRCode value="1234534" size={150} />;
Prop | Type | Description | default value | required |
---|---|---|---|---|
value | string | value to create QRCode | yes | |
size | number | Set width and heigth of QRCode | 100 | no |
foregroundColor | function | React native component to show value below barcode | #000 | no |
backgroundColor | string | Background color for barcode | #FFF | no |
FAQs
![janis-logo](brand-logo.png)
The npm package app-barcode-generator receives a total of 0 weekly downloads. As such, app-barcode-generator popularity was classified as not popular.
We found that app-barcode-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.