Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
ngx-barcode
Advanced tools
An angular component for Angular 4+ for creating 1-D barcodes based on [Lindell's JsBarcode](https://github.com/lindell/JsBarcode).
An angular component for Angular 4+ for creating 1-D barcodes based on Lindell's JsBarcode.
A simple demo
To use ngx-barcode in your project, install it via npm:
$ npm install ngx-barcode --save
Import the NgxBarcodeModule into your desired module:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import ngx-barcode module
import { NgxBarcodeModule } from 'ngx-barcode';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
NgxBarcodeModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Once the library is imported, you can use the ngx-barcode component in your Angular application:
<!-- Adding a barcode in app.component.html -->
<h1>
{{title}}
</h1>
<ngx-barcode [bc-value]="value" [bc-display-value]="true"></ngx-barcode>
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
To lint all *.ts
files:
$ npm run lint
MIT © Bryon Williams
FAQs
An angular component for Angular 4+ for creating 1-D barcodes based on Lindell's JsBarcode
The npm package ngx-barcode receives a total of 3,830 weekly downloads. As such, ngx-barcode popularity was classified as popular.
We found that ngx-barcode 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.