{"_id":"next-barcode","_rev":"4-387887fcd776e3d02a08d877168b8ee4","name":"next-barcode","dist-tags":{"latest":"1.5.0"},"versions":{"0.0.0":{"name":"next-barcode","version":"0.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"next-barcode@0.0.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-hyGkBQ0UTiTm8bUqNdMYL37PmdobnVN9q/PAOPDuXIYgvjanOj/b0+Vl4jT0rqc/rqSEBi8FlIufpE0BxgqATg==","shasum":"956b91e701e88a5df857cbf8f631569e1ccbc953","tarball":"https://registry.npmjs.org/next-barcode/-/next-barcode-0.0.0.tgz","fileCount":2,"unpackedSize":208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPsZWCRA9TVsSAnZWagAA7/EP/Rce9rQt4oj6KsdyhjRW\nOL9wnQnpBudbOTmmaxdQeTyw1LgM4n4wSaHhBz+vEoY5R8H16K6fCQgH+yM+\nlflxdVmyc28jGbA2GYTBQVoxGRDI4UntXKOcRNg4aaNx9uNi8gK8zjTLOXNJ\nv4SGfG3zzuNCVjVwAJ8QpKbnARH0tkm/gjdeR7r8m1of0Qr9ZPOpD98ClPp2\nsJ4EkhKKAbRE5REKlSnv/HyRf/BypxuFhOn7k5Xr+tyOjTebdqH/u5xUuxhp\n0l1klc5Hc8oCe6o127NtvnwGmicVUdE/8t4/5B9xD+YKRpZh3xhzYTLrIWEq\nZez6n5ZC2kRlA015LBkqBlMqJV0JHJHTyQp4vqsDaIIIX+YOIY/5/hhl/noP\nib548qTtH76fXIQdqSZ30qtQTuwPC0L2JXTz5ZNHDf/ijt2vmHD+g8xjeDpm\nhvCSZiuFRJBjIEiI3q436mLpdtHb2D1sZsZ+tA+8T/924MoxuhwCpTv9fX0W\nw/VpCuCKsZSICRbYVHAYsOOntz43NzGHpwex+eJZlf1mmaV+9u+R+eOCmvzY\nLhIym59FgtoVtjjHKXOVdBrUS9ymrikVY8oQ9Bi4ic+4kXUuXTfq07bYXrB7\nXNbMsQop1xHpbp23YE+IbhZWqyVFvWmnd1Llvxigqqcw3MGk69vj4Zxyam4t\noa0S\r\n=UekK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHE5BMq3XOhfCdYsz1PVxgCgWnatF/LrM41s9k41ID2VAiEAuHBHbxsGaOONNLxBxEqFIkMGp3bfEAH+IzEJF1hrIic="}]},"_npmUser":{"name":"bunlong","email":"bunlong.van@gmail.com"},"directories":{},"maintainers":[{"name":"bunlong","email":"bunlong.van@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-barcode_0.0.0_1631503958007_0.7402050224634416"},"_hasShrinkwrap":false},"1.2.0":{"name":"next-barcode","version":"1.2.0","description":"React hooks for generating Barcode for your next React apps.","author":{"name":"Bunlong","email":"bunlong.van@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Bunlong/next-barcode.git"},"bugs":{"url":"https://github.com/Bunlong/next-barcode.git/issues"},"keywords":["react","reactjs","barcode","next-barcode"],"homepage":"https://github.com/Bunlong/next-barcode","main":"dist/next-barcode.js","module":"dist/next-barcode.es.js","jsnext:main":"dist/next-barcode.es.js","types":"dist/next-barcode.d.ts","@comment unpkg":"dist/next-barcode.umd.js","engines":{"node":">=8","npm":">=5"},"scripts":{"@test":"jest --runInBand","build":"rollup -c","prettier":"prettier --write './src/*.ts' './src/**/*.ts' './src/**/*.tsx' --config ./.prettierrc","lint:check":"eslint ./src --ext .tsx,.ts --report-unused-disable-directives","bundlesize":"npm run build && bundlesize","dev":"rollup -c -w","prepare":"npm run build","predeploy":"cd docs && npm install && npm run build","deploy":"gh-pages -d docs/build"},"devDependencies":{"@babel/core":"^7.15.0","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/preset-env":"^7.15.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^20.0.0","@rollup/plugin-node-resolve":"^13.0.4","@types/react":"^17.0.19","@types/react-dom":"^17.0.9","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.29.3","@typescript-eslint/parser":"^4.29.3","bundlesize":"^0.18.1","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-plugin-react-hooks":"^4.2.0","jest":"^27.1.0","mutationobserver-shim":"^0.3.7","prettier":"^2.3.2","react":"^17.0.2","react-dom":"^17.0.2","react-scripts":"^4.0.3","react-test-renderer":"^17.0.2","rollup":"^2.56.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.5","tslib":"^2.3.1","typescript":"^4.4.2"},"bundlesize":[{"path":"./dist/*.js","maxSize":"21 kB"},{"path":"./dist/**/*.js","maxSize":"21 kB"},{"path":"./dist/*.ts","maxSize":"750 B"},{"path":"./dist/**/*.ts","maxSize":"770 B"}],"peerDependencies":{"react":"^17.0.2","react-dom":"^17.0.2","react-scripts":"^4.0.3"},"dependencies":{"jsbarcode":"^3.11.3"},"gitHead":"e0209a8601bff80c1866454674b37ff26eae9089","_id":"next-barcode@1.2.0","_nodeVersion":"14.17.4","_npmVersion":"7.20.3","dist":{"integrity":"sha512-W6dG9zwSg5SGeGyzbeT8GPHkCPxBXkdbOowcglhhWUBoFaEbsV1U691O8PtmtAy1pxNp1iybm3md2A3nrFQYkA==","shasum":"c318201124d1fd69865a7fdcfb6580303dff15e9","tarball":"https://registry.npmjs.org/next-barcode/-/next-barcode-1.2.0.tgz","fileCount":14,"unpackedSize":269944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvdXZWFR5PyhgpSfgU4qhaGQzsykOXRlMa9ARHiKd59QIgHjz+RddALDOr37YTUT5EbdMO55VUiOv/xJpWHFXYdjE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJim2pDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHWw//T0tqxDD3l9Czs782ezoXXSQ/jD2RWOFVGfKnfHKsmLuVMwFj\r\n/UdzPRJ/wGEL7I9QPr8aHG4oahMKjrW0IxSSLNW8nXwxyyNZYb9i4PQT12Xe\r\nUlZRriluZkrcYrKH5JAMVwiPTUy8r9Ym2Zs65VzFe11+kScMZR1UIOh9o+EQ\r\n0pnJYvqLqWqm3jWOFaqBIYKLWmO6rpLo6ANl0b9eyahCxQ6XeMmGeNMiijDE\r\n0VhNm0xjKbseiFfKeO+CeEwZHOrLJACSuhgArwFTLe5UmY6kNwbznRwwY0Lq\r\n7ETj1nsFc9FO4JKTEpcnrmn5H6RbFi6ZDgvnZElz2a1Aue9REV9rt8fX8yvk\r\nOr8h1I6driegcXWgXS3ri5mmzCThqWKgXrgW+XxvtxH81QRvkFcMMNiHrxq9\r\nVBrhy7hv25y7fZ16ZpKAp848YmqDXCZt74q4lTedI6+sjO4uBZ7n3hISUYEO\r\nsf2jigc1lLEod5eOL0nsG6lYVaROd5BcbaAAQ3SLIJMG5yuHOU1FPz68gQJo\r\n/xP0PwBsT6J/CsR7gZnzP6G3R6UB5hfUzyvAokUX0vDGSBxLZIdiZqzDpNx1\r\n5A1xL7WK9FAt2YUJuAqNXV5iSY6+xFEutw9lCsUNlDh4/3Gy3fgFJkVJkz98\r\nMAXEhqx83HPGfePk5aLuNqB9aipn36J3+xQ=\r\n=82Hy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bunlong","email":"bunlong.van@gmail.com"},"directories":{},"maintainers":[{"name":"bunlong","email":"bunlong.van@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-barcode_1.2.0_1654352451593_0.48020587451741226"},"_hasShrinkwrap":false},"1.4.0":{"name":"next-barcode","version":"1.4.0","description":"React hooks for generating Barcode for your next React apps.","author":{"name":"Bunlong","email":"bunlong.van@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Bunlong/next-barcode.git"},"bugs":{"url":"https://github.com/Bunlong/next-barcode.git/issues"},"keywords":["react","reactjs","barcode","next-barcode"],"homepage":"https://github.com/Bunlong/next-barcode","main":"dist/next-barcode.js","module":"dist/next-barcode.es.js","jsnext:main":"dist/next-barcode.es.js","types":"dist/next-barcode.d.ts","@comment unpkg":"dist/next-barcode.umd.js","engines":{"node":">=8","npm":">=5"},"scripts":{"@test":"jest --runInBand","build":"rollup -c","prettier":"prettier --write './src/*.ts' './src/**/*.ts' './src/**/*.tsx' --config ./.prettierrc","lint:check":"eslint ./src --ext .tsx,.ts --report-unused-disable-directives","bundlesize":"npm run build && bundlesize","dev":"rollup -c -w","prepare":"npm run build","predeploy":"cd docs && npm install && npm run build","deploy":"gh-pages -d docs/build"},"devDependencies":{"@babel/core":"^7.15.0","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/preset-env":"^7.15.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^20.0.0","@rollup/plugin-node-resolve":"^13.0.4","@types/react":"^18.0.11","@types/react-dom":"^18.0.5","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"^4.29.3","@typescript-eslint/parser":"^4.29.3","bundlesize":"^0.18.1","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-plugin-react-hooks":"^4.2.0","jest":"^27.1.0","mutationobserver-shim":"^0.3.7","prettier":"^2.3.2","react":"^18.1.0","react-dom":"^18.1.0","react-scripts":"^4.0.3","react-test-renderer":"^18.1.0","rollup":"^2.56.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.5","tslib":"^2.3.1","typescript":"^4.4.2"},"bundlesize":[{"path":"./dist/*.js","maxSize":"21 kB"},{"path":"./dist/**/*.js","maxSize":"21 kB"},{"path":"./dist/*.ts","maxSize":"750 B"},{"path":"./dist/**/*.ts","maxSize":"770 B"}],"peerDependencies":{"react":">=17.0.0","react-dom":">=17.0.0","react-scripts":">=4.0.0"},"dependencies":{"jsbarcode":"^3.11.3"},"gitHead":"9810adc76e099c8a351d649414e98bfd2465320f","_id":"next-barcode@1.4.0","_nodeVersion":"14.17.4","_npmVersion":"7.20.3","dist":{"integrity":"sha512-Sfbs/ToYPkAUQ4AgMEpRUZhCM0BXXMUF49JhquRir8YyC7KDfTGEpbF3Vu5v3JJx8aManG2k9LOVhMU9kbg11w==","shasum":"e62dcc31fae05585bad1d9e52af94d674e3c48a2","tarball":"https://registry.npmjs.org/next-barcode/-/next-barcode-1.4.0.tgz","fileCount":11,"unpackedSize":155645,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn9x+2TstffrWCo1ACNVhD/EJKFV8yf82rtnPiI6/0AAIhAL984uPyPLaBw9Mr2vUCEdML4QOIrEx83CStgQ1jR4md"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinL7kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoM/A//Te/Cc5T85hInTHXUC7wSfpiAf553s9zrgb+oyRvZVvVSyMk5\r\nb2m3aj2LI0RKYbhcBj+G9ZRRiMgV35u1dNtRr5g872YZwfcKoFWuNaBhPCCa\r\nvy2lN+smGOpJVk9yT8Bi1pJFUAE861onW7ioUPNZBKWBB0w3u5oQE+xeZXTL\r\ngPbm/m6gg/SF+KOUtez2Vxv/CJLqbnHtuVhy8vcQGTafR5SsTAeVA1c7ICor\r\n2SZwGItRs1VHHPXfItuN3Nx0dLKWcZqR+fwNnEvi/FlejsVAZRAlvyPL33Lr\r\nsXgQ0ZggO2s/d7+LBmOMel3zQ168eMjK4aMPd60MTBlmZVLaD1WNNteOyOzM\r\n6Udj7nri1YL7icNv8N/d3ktSc3fYbj8HPhwHRccPdCD/Gihd8vl4LYiA4qU4\r\nap1h13f8jqX2xGjCH02fGJVQRPTacQF1aqowKkHuweymfXrcfADjutz+TTW5\r\nDusWbl8FMbb9fXIeghjHDa9JdKrbhUZNAAa/tkkNDVnz9wroYQNgbnqDBsKX\r\nqipUSpd70QYX04YBbdvdTzmwlojt+gzNo8snTR1NwO9/mxiBFt7unP6wzsN6\r\n3hymBPQyCeWZotPypS6mEDKL30gbFRsNnBmEWQKtWIw4wcpoBCUmQ5J3ovL0\r\nZiHiusBAVJRT4A8IgOq+HDlWcytJPB6s0OI=\r\n=x90W\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bunlong","email":"bunlong.van@gmail.com"},"directories":{},"maintainers":[{"name":"bunlong","email":"bunlong.van@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-barcode_1.4.0_1654439651831_0.7288965373477994"},"_hasShrinkwrap":false},"1.5.0":{"name":"next-barcode","version":"1.5.0","description":"React hooks for generating Barcode for your next React apps.","author":{"name":"Bunlong","email":"bunlong.van@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Bunlong/next-barcode.git"},"bugs":{"url":"https://github.com/Bunlong/next-barcode.git/issues"},"keywords":["react","reactjs","barcode","next-barcode"],"homepage":"https://github.com/Bunlong/next-barcode","main":"dist/next-barcode.js","module":"dist/next-barcode.es.js","jsnext:main":"dist/next-barcode.es.js","types":"dist/next-barcode.d.ts","@comment unpkg":"dist/next-barcode.umd.js","engines":{"node":">=8","npm":">=5"},"scripts":{"@test":"jest --runInBand","build":"rollup -c","prettier":"prettier --write './src/*.ts' './src/**/*.ts' './src/**/*.tsx' --config ./.prettierrc","lint:check":"eslint ./src --ext .tsx,.ts --report-unused-disable-directives","bundlesize":"npm run build && bundlesize","dev":"rollup -c -w","prepare":"npm run build","predeploy":"cd docs && npm install && npm run build","deploy":"gh-pages -d docs/build"},"devDependencies":{"@babel/core":"^7.15.0","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/preset-env":"^7.15.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^20.0.0","@rollup/plugin-node-resolve":"^13.0.4","@types/react":"^18.0.11","@types/react-dom":"^18.0.5","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"^4.29.3","@typescript-eslint/parser":"^4.29.3","bundlesize":"^0.18.1","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-plugin-react-hooks":"^4.2.0","jest":"^27.1.0","mutationobserver-shim":"^0.3.7","prettier":"^2.3.2","react":"^18.1.0","react-dom":"^18.1.0","react-scripts":"^4.0.3","react-test-renderer":"^18.1.0","rollup":"^2.56.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.35.0","ts-jest":"^27.0.5","tslib":"^2.3.1","typescript":"^4.4.2"},"bundlesize":[{"path":"./dist/*.js","maxSize":"21 kB"},{"path":"./dist/**/*.js","maxSize":"21 kB"},{"path":"./dist/*.ts","maxSize":"750 B"},{"path":"./dist/**/*.ts","maxSize":"770 B"}],"peerDependencies":{"react":">=17.0.2"},"dependencies":{"jsbarcode":"^3.11.3"},"gitHead":"6a98f221125043a14de7026f8c9c7c73450b084b","_id":"next-barcode@1.5.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Aj6ID/BRXBlL7sQgJbMcYQZx+sCxQLYx7+CXvh9wlnmtBP6ajVPmbXHs3Y+99JH9gfB+TH7PGadIzRR6YzQiNw==","shasum":"f527a56ac2de1e83ddc32772b1418c37f29fd1f9","tarball":"https://registry.npmjs.org/next-barcode/-/next-barcode-1.5.0.tgz","fileCount":7,"unpackedSize":133687,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoEPwhroFGJuMH1RRNOJoylVn5TOHCYaecUJdyYks28QIgeXZX/sDFzebeUfF6d3Z5tv2vU82DUSp6TbqL4n2N4+U="}]},"_npmUser":{"name":"bunlong","email":"bunlong.van@gmail.com"},"directories":{},"maintainers":[{"name":"bunlong","email":"bunlong.van@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-barcode_1.5.0_1689518878485_0.17448973476413987"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-13T03:32:38.007Z","0.0.0":"2021-09-13T03:32:38.141Z","modified":"2023-07-16T14:47:58.815Z","1.2.0":"2022-06-04T14:20:51.757Z","1.4.0":"2022-06-05T14:34:12.070Z","1.5.0":"2023-07-16T14:47:58.647Z"},"maintainers":[{"name":"bunlong","email":"bunlong.van@gmail.com"}],"license":"MIT","readme":"# next-barcode\n\nReact hooks for generating Barcode for your next React apps.\n\n[![downloads](https://img.shields.io/npm/dm/next-barcode.svg?label=monthly%20downloads)](https://www.npmjs.com/package/next-barcode) [![downloads](https://img.shields.io/npm/dt/next-barcode.svg?label=total%20downloads)](https://www.npmjs.com/package/next-barcode)\n\n[![NPM](https://img.shields.io/npm/v/next-barcode.svg)](https://www.npmjs.com/package/next-barcode) ![npm bundle size](https://img.shields.io/bundlephobia/min/next-barcode) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\n[Live demo](https://p30pk.csb.app)\n\n## 🎁 Features\n\n* Compatible with both JavaScript and TypeScript\n* Generate as SVG, Canvas and Image\n* Support multiple barcodes type\n\n### Barcodes Type\n\n* [CODE128](https://github.com/Bunlong/next-barcode/wiki/CODE128)\n  * CODE128 (automatic mode switching)\n  * CODE128 A/B/C (force mode)\n* [EAN](https://github.com/Bunlong/next-barcode/wiki/EAN)\n  * EAN-13\n  * EAN-8\n  * EAN-5\n  * EAN-2\n  * UPC (A)\n  * UPC (E)\n* [CODE39](https://github.com/Bunlong/next-barcode/wiki/CODE39)\n* [ITF](https://github.com/Bunlong/next-barcode/wiki/ITF-14)\n  * ITF\n  * ITF-14\n* [MSI](https://github.com/Bunlong/next-barcode/wiki/MSI)\n  * MSI10\n  * MSI11\n  * MSI1010\n  * MSI1110\n* [Pharmacode](https://github.com/Bunlong/next-barcode/wiki/pharmacode)\n* [Codabar](https://github.com/Bunlong/next-barcode/wiki/codabar)\n\n## 🔧 Install\n\nnext-barcode is available on npm. It can be installed with the following command:\n\n```\nnpm install next-barcode --save\n```\n\nnext-barcode is available on yarn as well. It can be installed with the following command:\n\n```\nyarn add next-barcode\n```\n\n## 💡 Usage\n\n### SVG\n\n```js\nimport React from 'react';\nimport { useBarcode } from 'next-barcode';\n\nfunction App() {\n  const { inputRef } = useBarcode({\n    value: 'next-barcode',\n    options: {\n      background: '#ccffff',\n    }\n  });\n  \n  return <svg ref={inputRef} />;\n};\n\nexport default App;\n```\n<img src=\"https://raw.githubusercontent.com/bunlong/next-barcode/master/README/svg.png\" alt=\"next-barcode svg\" />\n\n### Canvas\n\n```js\nimport React from 'react';\nimport { useBarcode } from 'next-barcode';\n\nfunction App() {\n  const { inputRef } = useBarcode({\n    value: 'next-barcode',\n    options: {\n      displayValue: false,\n      background: '#ffc0cb',\n    }\n  });\n  \n  return <canvas ref={inputRef} />;\n};\n\nexport default App;\n```\n\n<img src=\"https://raw.githubusercontent.com/bunlong/next-barcode/master/README/canvas.png\" alt=\"next-barcode canvas\" />\n\n### Image\n\n```js\nimport React from 'react';\nimport { useBarcode } from 'next-barcode';\n\nfunction App() {\n  const { inputRef } = useBarcode({\n    value: 'next-barcode',\n    options: {\n      background: '#ffff00',\n    }\n  });\n  \n  return <img ref={inputRef} />;\n};\n\nexport default App;\n```\n\n<img src=\"https://raw.githubusercontent.com/bunlong/next-barcode/master/README/img.png\" alt=\"next-barcode image\" />\n\n## Parameters\n\n<table>\n  <thead>\n    <tr>\n      <th>Prop</th>\n      <th>Type</th>\n      <th>Require</th>\n      <th>Description</th>\n    </tr>\n  <thead>\n  <tbody>\n    <tr>\n      <td>value</td>\n      <td>string</td>\n      <td>✔️</td>\n      <td>Text to generate.</td>\n    </tr>\n    <tr>\n      <td>options</td>\n      <td>options</td>\n      <td>❌</td>\n      <td>Barcode options.</td>\n    </tr>\n  </tbody>\n</table>\n\n## Options\n\n<table>\n  <thead>\n    <tr>\n      <th>Option</th>\n      <th>Type</th>\n      <th>Default</th>\n      <th>Require</th>\n      <th>Description</th>\n    </tr>\n  <thead>\n  <tbody>\n    <tr>\n      <td>format</td>\n      <td>string?</td>\n      <td><code>auto</code></td>\n      <td>❌</td>\n      <td>Select which barcode type to use. Please check the <a href=\"https://github.com/Bunlong/next-barcode/wiki\">wikipage</a> of the different barcode types for more information.</td>\n    </tr>\n    <tr>\n      <td>width</td>\n      <td>number?</td>\n      <td><code>2</code></td>\n      <td>❌</td>\n      <td>The width option is the width of a single bar.</td>\n    </tr>\n    <tr>\n      <td>height</td>\n      <td>number?</td>\n      <td><code>100</code></td>\n      <td>❌</td>\n      <td>The height of the barcode.</td>\n    </tr>\n    <tr>\n      <td>displayValue</td>\n      <td>boolean?</td>\n      <td><code>true</code></td>\n      <td>❌</td>\n      <td></td>\n    </tr>\n    <tr>\n      <td>text</td>\n      <td>string?</td>\n      <td><code>undefined</code></td>\n      <td>❌</td>\n      <td>Overide the text that is diplayed</td>\n    </tr>\n    <tr>\n      <td>fontOptions</td>\n      <td>string?</td>\n      <td><code>\"\"</code></td>\n      <td>❌</td>\n      <td>With fontOptions you can add bold or italic text to the barcode.</td>\n    </tr>\n    <tr>\n      <td>font</td>\n      <td>string?</td>\n      <td><code>\"monospace\"</code></td>\n      <td>❌</td>\n      <td>Define the font used for the text in the generated barcode. This can be any default font or a font defined by a @font-face rule.</td>\n    </tr>\n    <tr>\n      <td>textAlign</td>\n      <td>string?</td>\n      <td><code>\"center\"</code></td>\n      <td>❌</td>\n      <td>Set the horizontal alignment of the text. Can be <code>left</code> / <code>center</code> / <code>right</code>.</td>\n    </tr>\n    <tr>\n      <td>textPosition</td>\n      <td>string?</td>\n      <td><code>\"bottom\"</code></td>\n      <td>❌</td>\n      <td>Set the vertical position of the text. Can be <code>bottom</code> / <code>top</code>.</td>\n    </tr>\n    <tr>\n      <td>textMargin</td>\n      <td>number?</td>\n      <td><code>2</code></td>\n      <td>❌</td>\n      <td>Set the vertical position of the text. Can be <code>bottom</code> / <code>top</code>.</td>\n    </tr>\n    <tr>\n      <td>fontSize</td>\n      <td>number?</td>\n      <td><code>20</code></td>\n      <td>❌</td>\n      <td>Set the size of the text.</td>\n    </tr>\n    <tr>\n      <td>background</td>\n      <td>string?</td>\n      <td><code>\"#ffffff\"</code></td>\n      <td>❌</td>\n      <td>Set the background of the barcode.</td>\n    </tr>\n    <tr>\n      <td>lineColor</td>\n      <td>string?</td>\n      <td><code>\"#000000\"</code></td>\n      <td>❌</td>\n      <td>Set the color of the bars and the text.</td>\n    </tr>\n    <tr>\n      <td>margin</td>\n      <td>number?</td>\n      <td><code>10</code></td>\n      <td>❌</td>\n      <td>Set the space margin around the barcode. If nothing else is set, all side will inherit the margins property but can be replaced if you want to set them separably.</td>\n    </tr>\n    <tr>\n      <td>marginTop</td>\n      <td>number?</td>\n      <td><code>undefined</code></td>\n      <td>❌</td>\n      <td></td>\n    </tr>\n    <tr>\n      <td>marginBottom</td>\n      <td>number?</td>\n      <td><code>undefined</code></td>\n      <td>❌</td>\n      <td></td>\n    </tr>\n    <tr>\n      <td>marginLeft</td>\n      <td>number?</td>\n      <td><code>undefined</code></td>\n      <td>❌</td>\n      <td></td>\n    </tr>\n    <tr>\n      <td>marginRight</td>\n      <td>number?</td>\n      <td><code>undefined</code></td>\n      <td>❌</td>\n      <td></td>\n    </tr>\n    <tr>\n      <td>flat</td>\n      <td>boolean?</td>\n      <td><code>false</code></td>\n      <td>❌</td>\n      <td>Only for <code>EAN8</code> / <code>EAN13</code></td>\n    </tr>\n  </tbody>\n</table>\n\n## 📜 Changelog\n\nLatest version 1.5.0 (2023-07-14):\n\n  * Upgrade dependencies\n\nDetails changes for each release are documented in the [CHANGELOG.md](https://github.com/Bunlong/next-barcode/blob/master/CHANGELOG.md).\n\n## ❗ Issues\n\nIf you think any of the `next-barcode` can be improved, please do open a PR with any updates and submit any issues. Also, I will continue to improve this, so you might want to watch/star this repository to revisit.\n\n## 🌟 Contribution\n\nWe'd love to have your helping hand on contributions to `next-barcode` by forking and sending a pull request!\n\nYour contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)\n\nHow to contribute:\n\n- Open pull request with improvements\n- Discuss ideas in issues\n- Spread the word\n- Reach out with any feedback\n\n## 🏆 Contributors\n\n<table>\n  <tr>\n    <td align=\"center\">\n      <a href=\"https://github.com/Bunlong\">\n        <img src=\"https://avatars0.githubusercontent.com/u/1308397?s=400&u=945dc6b97571e2b98b659d34b1c81ae2514046bf&v=4\" width=\"100\" alt=\"Bunlong\" />\n        <br />\n        <sub>\n          <b>Bunlong</b>\n        </sub>\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://github.com/dennis-8\">\n        <img src=\"https://avatars.githubusercontent.com/u/4423231?v=4\" width=\"100\" alt=\"Dennis N.\" />\n        <br />\n        <sub>\n          <b>Dennis N.</b>\n        </sub>\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://github.com/Handers85\">\n        <img src=\"https://avatars.githubusercontent.com/u/90617297?v=4\" width=\"100\" alt=\"Handers\" />\n        <br />\n        <sub>\n          <b>Handers</b>\n        </sub>\n      </a>\n    </td>\n  </tr>\n</table>\n\n## ⚖️ License\n\nThe MIT License [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n<!-- https://raw.githubusercontent.com/bunlong/next-barcode/master/README/logo.png -->\n","readmeFilename":"README.md","description":"React hooks for generating Barcode for your next React apps.","homepage":"https://github.com/Bunlong/next-barcode","keywords":["react","reactjs","barcode","next-barcode"],"repository":{"type":"git","url":"git+https://github.com/Bunlong/next-barcode.git"},"author":{"name":"Bunlong","email":"bunlong.van@gmail.com"},"bugs":{"url":"https://github.com/Bunlong/next-barcode.git/issues"}}