{"id":17596127,"url":"https://github.com/fyko/barcy","last_synced_at":"2025-04-30T04:49:38.427Z","repository":{"id":140789466,"uuid":"612769703","full_name":"Fyko/barcy","owner":"Fyko","description":"A modern React Component for reading USB Barcode Scanners","archived":false,"fork":false,"pushed_at":"2023-03-13T18:45:43.000Z","size":1366,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T04:49:31.604Z","etag":null,"topics":["barcode","barcode-scanner","react"],"latest_commit_sha":null,"homepage":"https://barcy.fyko.net","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fyko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-03-11T23:11:04.000Z","updated_at":"2025-01-11T21:56:25.000Z","dependencies_parsed_at":"2023-03-28T00:20:19.668Z","dependency_job_id":null,"html_url":"https://github.com/Fyko/barcy","commit_stats":null,"previous_names":["carterhimmel/barcy","fyko/barcy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fyko%2Fbarcy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fyko%2Fbarcy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fyko%2Fbarcy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fyko%2Fbarcy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fyko","download_url":"https://codeload.github.com/Fyko/barcy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251644827,"owners_count":21620630,"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","barcode-scanner","react"],"created_at":"2024-10-22T08:08:04.459Z","updated_at":"2025-04-30T04:49:38.404Z","avatar_url":"https://github.com/Fyko.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Barcy\n\n\u003e A modern React Component for reading USB Barcode Scanners\n\n## Example\n```ts\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport Barcy from 'barcy';\n\nconst App = () =\u003e {\n  const [value, setValue] = React.useState('');\n\n  return (\n    \u003c\u003e\n      \u003cBarcy onScan={(str) =\u003e setValue(str)} /\u003e\n      \u003cp\u003eScanned value: {value}\u003c/p\u003e\n    \u003c/\u003e\n  );\n};\n\nReactDOM.render(\u003cApp /\u003e, document.getElementById('root'));\n```\n\n## Documentation\ntodo\n\n## Development\n\n1. `yarn`\n\nInstall dependencies.\n\n2. `yarn dev`\n\nBuild the component, then start the demo site\n\n3. Focus the demo site, and use your barcode scanner.\n\n## Regards\n\nThis package is a modern version of https://github.com/kybarg/react-barcode-reader\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffyko%2Fbarcy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffyko%2Fbarcy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffyko%2Fbarcy/lists"}