
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
react-native-barcode-sked
Advanced tools
React Native component to generate barcodes. Uses [JsBarcode](https://github.com/lindell/JsBarcode) for encoding of data. SKED forked this project to add support for svg since the original library used ART which is no longer supported.
React Native component to generate barcodes. Uses JsBarcode for encoding of data. SKED forked this project to add support for svg since the original library used ART which is no longer supported.
This library uses react-native-svg to draw vector graphics.
Install react-native-barcode-sked
:
npm install react-native-barcode-sked --save
Start using the component
import Barcode from "react-native-barcode-sked";
<Barcode value="Hello World" format="CODE128" />;
You can find more info about the supported barcodes in the JsBarcode README.
Property | Description |
---|---|
value | What the barcode stands for (required). |
format | Which barcode type to use (default: CODE128). |
width | Width of a single bar (default: 2) |
height | Height of the barcode (default: 100) |
text | Override text that is displayed. |
lineColor | Color of the bars and text (default: #000000) |
background | Background color of the barcode (default: #ffffff) |
onError | Handler for invalid barcode of selected format |
FAQs
React Native component to generate barcodes. Uses [JsBarcode](https://github.com/lindell/JsBarcode) for encoding of data. SKED forked this project to add support for svg since the original library used ART which is no longer supported.
The npm package react-native-barcode-sked receives a total of 8 weekly downloads. As such, react-native-barcode-sked popularity was classified as not popular.
We found that react-native-barcode-sked 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
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.