{"_id":"@alexartisan/react-native-barcode-builder","_rev":"3-adaa8a146922479e7778893045fb6aa5","name":"@alexartisan/react-native-barcode-builder","dist-tags":{"latest":"2.0.3"},"versions":{"2.0.1":{"name":"@alexartisan/react-native-barcode-builder","version":"2.0.1","keywords":["react-native","barcode"],"author":{"name":"WonSikin","email":"fnghwsj@gmail.com"},"license":"Apache 2.0","_id":"@alexartisan/react-native-barcode-builder@2.0.1","maintainers":[{"name":"alexartisan","email":"strangleting@gmail.com"}],"homepage":"https://github.com/gopherios/react-native-barcode-builder#readme","bugs":{"url":"https://github.com/gopherios/react-native-barcode-builder/issues"},"dist":{"shasum":"547f5c28a7f7915a2ed4851c987a2204d53a5f3d","tarball":"https://registry.npmjs.org/@alexartisan/react-native-barcode-builder/-/react-native-barcode-builder-2.0.1.tgz","fileCount":10,"integrity":"sha512-B24Vi+c+0YR7+R55KsUMCBRl8FgywpZi9hFJwaz1FC8SavJydWU4w3jSeTaMUg3KrJlKpYs7zUYS6S8iqdtbWg==","signatures":[{"sig":"MEQCIC19qvNgG78bkx/+HVmsk2sNuCobrlV4Gu84P5YAMz4yAiAdvtPrt31XGtBLHF58E7fpJt8KND/4Bs++NsTAtuDFtw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":252222},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"405d0acc70c3237493553e8435e469d1b35c5dc8","scripts":{"lint":"eslint ./"},"typings":"index.d.ts","_npmUser":{"name":"alexartisan","email":"strangleting@gmail.com"},"repository":{"url":"git+https://github.com/gopherios/react-native-barcode-builder.git","type":"git"},"_npmVersion":"9.8.1","description":"React Native component to generate barcodes. Uses [JsBarcode](https://github.com/lindell/JsBarcode) for encoding of data.","directories":{},"lint-staged":{"*.js":["eslint --cache --fix","git add --force"],"*.{md,json}":["prettier --write","git add --force"]},"_nodeVersion":"18.18.0","dependencies":{"jsbarcode":"^3.8.0","react-native-svg":"^15.8.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":">=4","eslint":"^6.8.0","prettier":"2.0.2","lint-staged":">=10","babel-eslint":"^10.1.0","eslint-plugin-react":"^7.19.0"},"peerDependencies":{"prop-types":"^15.5.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-barcode-builder_2.0.1_1763382206623_0.08015431395988815","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@alexartisan/react-native-barcode-builder","version":"2.0.2","keywords":["react-native","barcode"],"author":{"name":"WonSikin","email":"fnghwsj@gmail.com"},"license":"Apache 2.0","_id":"@alexartisan/react-native-barcode-builder@2.0.2","maintainers":[{"name":"alexartisan","email":"strangleting@gmail.com"}],"homepage":"https://github.com/gopherios/react-native-barcode-builder#readme","bugs":{"url":"https://github.com/gopherios/react-native-barcode-builder/issues"},"dist":{"shasum":"cd5ec8ad9ac4a4527365c6092ee8fea78281d2aa","tarball":"https://registry.npmjs.org/@alexartisan/react-native-barcode-builder/-/react-native-barcode-builder-2.0.2.tgz","fileCount":10,"integrity":"sha512-/yvv8ttsjuEajR3MDkY8VC5rrm7bTcQy54JuUmyvS0CBBMHxbG7xMMan3G8DegRQuWHCwnxcvheWaegLy8L/pQ==","signatures":[{"sig":"MEYCIQCZNZ9Ks0/IlJQWJaJAxm3fRegv7KYLnE6JyxMflcn56AIhALa/mmzAq5oAvoltHTJA2K7HQPZMpSYLZeSUXEIpNI0M","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":252220},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"405d0acc70c3237493553e8435e469d1b35c5dc8","scripts":{"lint":"eslint ./"},"typings":"index.d.ts","_npmUser":{"name":"alexartisan","email":"strangleting@gmail.com"},"repository":{"url":"git+https://github.com/gopherios/react-native-barcode-builder.git","type":"git"},"_npmVersion":"9.8.1","description":"React Native component to generate barcodes. Uses [JsBarcode](https://github.com/lindell/JsBarcode) for encoding of data.","directories":{},"lint-staged":{"*.js":["eslint --cache --fix","git add --force"],"*.{md,json}":["prettier --write","git add --force"]},"_nodeVersion":"18.18.0","dependencies":{"jsbarcode":"3.8.0","react-native-svg":"15.8.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":">=4","eslint":"^6.8.0","prettier":"2.0.2","lint-staged":">=10","babel-eslint":"^10.1.0","eslint-plugin-react":"^7.19.0"},"peerDependencies":{"prop-types":"^15.5.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-barcode-builder_2.0.2_1763383060577_0.811342380638935","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@alexartisan/react-native-barcode-builder","version":"2.0.3","description":"React Native component to generate barcodes. Uses [JsBarcode](https://github.com/lindell/JsBarcode) for encoding of data.","repository":{"type":"git","url":"git+https://github.com/gopherios/react-native-barcode-builder.git"},"license":"Apache 2.0","main":"index.js","typings":"index.d.ts","scripts":{"lint":"eslint ./"},"keywords":["react-native","barcode"],"author":{"name":"WonSikin","email":"fnghwsj@gmail.com"},"dependencies":{"jsbarcode":"3.8.0"},"peerDependencies":{"prop-types":"^15.5.0","react-native-svg":"15.8.0"},"devDependencies":{"babel-eslint":"^10.1.0","eslint":"^6.8.0","eslint-plugin-react":"^7.19.0","husky":">=4","lint-staged":">=10","prettier":"2.0.2"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint --cache --fix","git add --force"],"*.{md,json}":["prettier --write","git add --force"]},"_id":"@alexartisan/react-native-barcode-builder@2.0.3","gitHead":"8705acf7ddd18c3f19ad0338691debb3abb4f709","bugs":{"url":"https://github.com/gopherios/react-native-barcode-builder/issues"},"homepage":"https://github.com/gopherios/react-native-barcode-builder#readme","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-Z7N/8SBp6abI9vLqmh7ilhcoiYQqm0kTvlvgV+6EtjujsI6Dut5FIckUXDdNAy/FSwUMJcSXKynP28HIKuAibg==","shasum":"a74eb508f761dbe0cfc5f6b9a3468f99ad9c0dc5","tarball":"https://registry.npmjs.org/@alexartisan/react-native-barcode-builder/-/react-native-barcode-builder-2.0.3.tgz","fileCount":10,"unpackedSize":252410,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDt7ImTsk8Qv5mQm/mlk+iCoOkK9A27LBULkh45O82zIQIgHSzc5hEVbCbRaMbaQjwqyyGrnehkEq3+EDZh36jl74c="}]},"_npmUser":{"name":"alexartisan","email":"strangleting@gmail.com"},"directories":{},"maintainers":[{"name":"alexartisan","email":"strangleting@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-barcode-builder_2.0.3_1763385182664_0.6548786035798149"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-17T12:23:26.522Z","modified":"2025-11-17T13:13:03.407Z","2.0.1":"2025-11-17T12:23:26.868Z","2.0.2":"2025-11-17T12:37:40.792Z","2.0.3":"2025-11-17T13:13:02.894Z"},"bugs":{"url":"https://github.com/gopherios/react-native-barcode-builder/issues"},"author":{"name":"WonSikin","email":"fnghwsj@gmail.com"},"license":"Apache 2.0","homepage":"https://github.com/gopherios/react-native-barcode-builder#readme","keywords":["react-native","barcode"],"repository":{"type":"git","url":"git+https://github.com/gopherios/react-native-barcode-builder.git"},"description":"React Native component to generate barcodes. Uses [JsBarcode](https://github.com/lindell/JsBarcode) for encoding of data.","maintainers":[{"name":"alexartisan","email":"strangleting@gmail.com"}],"readme":"# @alexartisan/react-native-barcode-builder\n\nReact Native component to generate barcodes. Uses [JsBarcode](https://github.com/lindell/JsBarcode) for encoding of data.\n\n## Getting started\n\n### Step 1\n\nThis library uses [react-native-svg](https://github.com/software-mansion/react-native-svg) to draw vector graphics.\n\n```shell\n    npm install react-native-svg@15.8.0 --save\n```\n\n### Step 2\n\nInstall `@alexartisan/react-native-barcode-builder`:\n\n```shell\n    npm install @alexartisan/react-native-barcode-builder --save\n```\n\n### Step 3\n\nStart using the component\n\n```javascript\nimport Barcode from \"@alexartisan/react-native-barcode-builder\";\n\n<Barcode value=\"Hello World\" format=\"CODE128\" />;\n```\n\nYou can find more info about the supported barcodes in the [JsBarcode README](https://github.com/lindell/JsBarcode#supported-barcodes).\n\n![demo](./images/example.png)\n\n## Properties\n\n| Property   | Description                                          |\n| ---------- | ---------------------------------------------------- |\n| value      | What the barcode stands for (required).              |\n| format     | Which barcode type to use (default: CODE128).        |\n| width      | Width of a single bar (default: 2)                   |\n| height     | Height of the barcode (default: 100)                 |\n| text       | Override text that is displayed.                     |\n| lineColor  | Color of the bars and text (default: #000000)      |\n| background | Background color of the barcode (default: #ffffff) |\n| onError    | Handler for invalid barcode of selected format       |\n","readmeFilename":"README.md"}