{"id":17088086,"url":"https://github.com/kciter/react-barcode","last_synced_at":"2025-05-14T09:07:08.000Z","repository":{"id":8237579,"uuid":"57364316","full_name":"kciter/react-barcode","owner":"kciter","description":"A \u003cBarcode/\u003e component for use with React.","archived":false,"fork":false,"pushed_at":"2025-03-19T04:57:39.000Z","size":13122,"stargazers_count":417,"open_issues_count":16,"forks_count":75,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-14T03:36:48.175Z","etag":null,"topics":["barcode","react"],"latest_commit_sha":null,"homepage":"http://kciter.github.io/react-barcode/","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kciter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["kciter"]}},"created_at":"2016-04-29T07:23:08.000Z","updated_at":"2025-05-12T14:16:29.000Z","dependencies_parsed_at":"2024-01-17T11:04:05.883Z","dependency_job_id":"1f398e6d-a124-4a33-a9f7-2d5621fb4469","html_url":"https://github.com/kciter/react-barcode","commit_stats":{"total_commits":87,"total_committers":24,"mean_commits":3.625,"dds":0.5747126436781609,"last_synced_commit":"93eda0786fb46d8ac9bcf9284e229ccb190c4a37"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kciter%2Freact-barcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kciter%2Freact-barcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kciter%2Freact-barcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kciter%2Freact-barcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kciter","download_url":"https://codeload.github.com/kciter/react-barcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254104537,"owners_count":22015491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["barcode","react"],"created_at":"2024-10-14T13:36:11.670Z","updated_at":"2025-05-14T09:07:07.953Z","avatar_url":"https://github.com/kciter.png","language":"Makefile","readme":"# react-barcode\n\n![NPM Version](https://img.shields.io/npm/v/react-barcode)\n\n\u003cimg src=\"https://raw.githubusercontent.com/kciter/react-barcode/master/images/barcode.png\" alt=\"barcode\" width=\"600\"\u003e\u003cbr\u003e\nPreview: http://kciter.github.io/react-barcode/\n\nA `\u003cBarcode/\u003e` component for use with React.\u003cbr\u003e\nThis library wrapped [JsBarcode](https://github.com/lindell/JsBarcode).\n\n## Installation\n```\nnpm install react-barcode\n```\n\n## Usage\n```js\nvar React = require('react');\nvar ReactDOM = require('react-dom');\nvar Barcode = require('react-barcode');\n\nReactDOM.render(\n  \u003cBarcode value=\"http://github.com/kciter\" /\u003e,\n  mountNode\n);\n```\n\nOr\n\n```js\nimport Barcode from 'react-barcode';\n\nexport const Example: FunctionComponent = () =\u003e {\n    return \u003cBarcode value=\"barcode-example\" /\u003e;\n};\n```\n\n## Options:\n\nFor information about how to use the options, see [the wiki page](https://github.com/lindell/JsBarcode/wiki/Options).\n```\n{\n  width: 2,\n  height: 100,\n  format: \"CODE128\",\n  displayValue: true,\n  fontOptions: \"\",\n  font: \"monospace\",\n  textAlign: \"center\",\n  textPosition: \"bottom\",\n  textMargin: 2,\n  fontSize: 20,\n  background: \"#ffffff\",\n  lineColor: \"#000000\",\n  margin: 10,\n  marginTop: undefined,\n  marginBottom: undefined,\n  marginLeft: undefined,\n  marginRight: undefined,\n  id: undefined,\n  className: undefined\n}\n```\n\n## Reference\n* https://github.com/lindell/JsBarcode\n* https://github.com/zpao/qrcode.react\n\n## Donate\nIf you like this open source, you can sponsor it. :smile:\n\n[Paypal me](https://www.paypal.me/kciter)\n\n## Licence\nCopyright (c) 2016, Lee Sun-Hyoup\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n","funding_links":["https://github.com/sponsors/kciter","https://www.paypal.me/kciter"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkciter%2Freact-barcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkciter%2Freact-barcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkciter%2Freact-barcode/lists"}