Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ngx-barcode-input
Advanced tools
This 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.
Readme
This 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.
https://ngxbarcodeinput.firebaseapp.com/
This is how to install the components:
npm install ngx-barcode-input
or
yarn add ngx-barcode-input
And on your application module:
import { NgxBarcodeInputModule } from 'ngx-barcode-input';
@NgModule({
declarations: [ ...],
imports: [
BrowserModule,
....,
NgxBarcodeInputModule
],
})
export class AppModule { }
See below for SystemJs / UMD installation.
Use the Barcode Input like this:
<div class="form-row">
<label>Barcode Input:</label>
<ngx-barcode-input></ngx-barcode-input>
</div>
This command will build and start the demo application:
npm start
These commands will build, package, and deploy for NPM
npm run build
npm run packagr
npm publish dist
The tests can be executed with the following commands:
npm test
npm integration
Make sure to add this to your map
configuration, if you need the module served from a CDN:
map: {
...
'ngx-barcode-input': 'https://unpkg.com/ngx-barcode-input@<version number>/ngx-barcode-input.umd.min.js'
}
Otherwise if serving from node_modules
directly:
map: {
...
'ngx-barcode-input': 'node_modules/ngx-barcode-input/bundles/ngx-barcode-input.umd.min.js'
}
And in our packages property:
packages: {
...
'ngx-barcode-input': {
main: 'index.js',
defaultExtension: 'js'
}
}
FAQs
This 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.
The npm package ngx-barcode-input receives a total of 1 weekly downloads. As such, ngx-barcode-input popularity was classified as not popular.
We found that ngx-barcode-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.