{"id":14965893,"url":"https://github.com/neojato/ngx-barcode-input","last_synced_at":"2025-04-06T00:31:11.115Z","repository":{"id":78932316,"uuid":"124585362","full_name":"neojato/ngx-barcode-input","owner":"neojato","description":"Simple Angular 2+ barcode scanner","archived":false,"fork":false,"pushed_at":"2018-06-19T14:55:23.000Z","size":282,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T13:53:26.596Z","etag":null,"topics":["angular","angular-components","barcode","npm-package","yarn-packages"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ngx-barcode-input","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/neojato.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-09T19:40:32.000Z","updated_at":"2021-11-15T08:32:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"5887e7e6-4f14-40c9-ab04-dfc5b0c727fa","html_url":"https://github.com/neojato/ngx-barcode-input","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":0.04347826086956519,"last_synced_commit":"fe75affbd4c82ff84c41080d44a90b6be2857eef"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neojato%2Fngx-barcode-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neojato%2Fngx-barcode-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neojato%2Fngx-barcode-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neojato%2Fngx-barcode-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neojato","download_url":"https://codeload.github.com/neojato/ngx-barcode-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419597,"owners_count":20936009,"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":["angular","angular-components","barcode","npm-package","yarn-packages"],"created_at":"2024-09-24T13:35:31.894Z","updated_at":"2025-04-06T00:31:10.549Z","avatar_url":"https://github.com/neojato.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-barcode-input\n\nThis module contains an Angular input box component with a button that allows to scan a barcode when viewed from a mobile device (ex Android/iOS), which then records the scanned string of data into the input field for form submission.\n\n### Features:\n\n- The component has minimal styling\n- There is no need to include a component-specific external stylesheet\n- As the input component takes a plain input and projects it, this means that by design the component supports all standard HTML input attributes, including custom attributes (data-), all the accessiblity properties, etc.\n- This also means that these components are compatible with Angular Forms \n- This repo is designed as a library in the [Angular Package Format v4.0](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/edit#heading=h.k0mh3o8u5hx).\n- This means that this module is compatible with AOT, and includes UMD bundles for use with SystemJs\n- This Angular component extends the [QuaggaJS](https://serratus.github.io/quaggaJS/) barcode library\n\n# Demo\n\nhttps://ngxbarcodeinput.firebaseapp.com/\n\n# Installation\n\nThis is how to install the components:\n\n```bash\nnpm install ngx-barcode-input\n```\n\nor \n\n```bash\nyarn add ngx-barcode-input\n```\n\n\nAnd on your application module:\n\n```ts\nimport { NgxBarcodeInputModule } from 'ngx-barcode-input';\n\n@NgModule({\n  declarations: [ ...],\n  imports: [\n    BrowserModule,\n    ....,\n     NgxBarcodeInputModule\n],\n})\nexport class AppModule { }\n```\n\nSee below for SystemJs / UMD installation.\n\n# Using the Barcode Input\n\nUse the Barcode Input like this:\n\n```html\n\u003cdiv class=\"form-row\"\u003e\n  \u003clabel\u003eBarcode Input:\u003c/label\u003e\n  \u003cngx-barcode-input\u003e\u003c/ngx-barcode-input\u003e\n\u003c/div\u003e\n```\n\n        \n# Running the Demo Application\nThis command will build and start the demo application:\n\n```bash\nnpm start\n```\n\n# Building Module for Production\nThese commands will build, package, and deploy for NPM\n\n```bash\nnpm run build\nnpm run packagr\nnpm publish dist\n```\n\n# Running the Tests \n\nThe tests can be executed with the following commands:\n\n```bash\nnpm test\nnpm integration\n```\n\n## Using SystemJs via the UMD bundle ?\n\nMake sure to add this to your `map` configuration, if you need the module served from a CDN:\n\n```javascript\nmap: {\n   ...\n   'ngx-barcode-input': 'https://unpkg.com/ngx-barcode-input@\u003cversion number\u003e/ngx-barcode-input.umd.min.js'\n}\n```\n\nOtherwise if serving from `node_modules`directly:\n\n```javascript\nmap: {\n   ...\n   'ngx-barcode-input': 'node_modules/ngx-barcode-input/bundles/ngx-barcode-input.umd.min.js'\n}\n```\n\nAnd in our packages property:\n\n```javascript\npackages: {\n   ...\n  'ngx-barcode-input': {\n    main: 'index.js',\n    defaultExtension: 'js'\n  }\n\n}\n```\n\n\n# License \n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneojato%2Fngx-barcode-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneojato%2Fngx-barcode-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneojato%2Fngx-barcode-input/lists"}