Socket
Socket
Sign inDemoInstall

react-jsbarcode

Package Overview
Dependencies
5
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

### [0.1.2](https://github.com/iamchathu/react-jsbarcode/compare/v0.1.1...v0.1.2) (2021-10-07)
### Bug Fixes
- readme example and add more details ([73c68ca](https://github.com/iamchathu/react-jsbarcode/commit/73c68ca46dac183b53b02a581550feddc3995d9e))
### [0.1.1](https://github.com/iamchathu/react-jsbarcode/compare/v0.1.0...v0.1.1) (2021-10-07)

@@ -7,0 +13,0 @@

2

package.json
{
"name": "react-jsbarcode",
"version": "0.1.1",
"version": "0.1.2",
"description": "JSBarcode component for React",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/iamchathu/react-jsbarcode",

@@ -34,4 +34,10 @@ # react-jsbarcode

const App = () => {
return <ReactJSBarcode data="ABC123" />;
return <ReactJSBarcode value="ABC123" options={{ format: 'code128' }} renderer="svg" />;
};
```
For all options refer jsbarcode [wiki](https://github.com/lindell/JsBarcode/wiki/Options).
### Renderers
JSBarcode supports rendering to SVG, image and canvas. Default renderer is 'svg'.
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