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.2.2 to 0.2.3-beta.0

lib/index.esm.js

2

CHANGELOG.md

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

### [0.2.3-beta.0](https://github.com/iamchathu/react-jsbarcode/compare/v0.2.2...v0.2.3-beta.0) (2021-10-12)
### [0.2.2](https://github.com/iamchathu/react-jsbarcode/compare/v0.2.1...v0.2.2) (2021-10-08)

@@ -7,0 +9,0 @@

1

lib/index.d.ts

@@ -18,2 +18,1 @@ import * as React from 'react';

export default ReactBarcode;
//# sourceMappingURL=index.d.ts.map
{
"name": "react-jsbarcode",
"version": "0.2.2",
"version": "0.2.3-beta.0",
"description": "JSBarcode component for React",

@@ -11,2 +11,3 @@ "homepage": "http://github.com/iamchathu/react-jsbarcode",

"main": "lib/index.js",
"module": "lib/index.esm.js",
"types": "lib/index.d.ts",

@@ -20,3 +21,4 @@ "files": [

"clean": "rimraf lib/",
"build": "tsc -b .",
"tsc": "tsc -b .",
"build": "rollup -c",
"prepare": "install-peers && husky install",

@@ -33,2 +35,5 @@ "lint": "eslint 'src/**/*.{ts,tsx}' --quiet --fix ",

"@commitlint/config-conventional": "^13.2.0",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-typescript": "^8.2.5",
"@types/react": "^17.0.27",

@@ -50,2 +55,4 @@ "@typescript-eslint/eslint-plugin": "^4.33.0",

"rimraf": "^3.0.2",
"rollup": "^2.58.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"standard-version": "^9.3.1",

@@ -62,4 +69,5 @@ "typescript": "^4.4.3"

"jsbarcode",
"barcode generator"
"barcode generator",
"react barcode"
]
}

@@ -12,3 +12,3 @@ # react-jsbarcode

This is a [React](https://reactjs.org) component wrapping up [jsbarcode](<[https://](https://github.com/lindell/JsBarcode)>). Written as a React functional component using React hooks.
This is a [React](https://reactjs.org) component wrapping up [jsbarcode](<[https://](https://github.com/lindell/JsBarcode)>). Written as a React functional component using React hooks. <ReactBarcode />

@@ -31,10 +31,22 @@ ## Installation

- Basic usage
```tsx
import ReactJSBarcode from 'react-jsbarcode';
import ReactBarcode from 'react-jsbarcode';
const App = () => {
return <ReactJSBarcode value="ABC123" options={{ format: 'code128' }} renderer="svg" />;
return <ReactBarcode value="ABC123" />;
};
```
- Advanced usage
```tsx
import ReactBarcode from 'react-jsbarcode';
const App = () => {
return <ReactBarcode value="ABC123" options={{ format: 'code128' }} renderer="svg" />;
};
```
For all options refer jsbarcode [wiki](https://github.com/lindell/JsBarcode/wiki/Options).

@@ -41,0 +53,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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