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.
nano-pdf-book-viewer
Advanced tools
Readme
A small PDF viewer in shape of a book for Angular Angular 13^
npm install --save nano-pdf-book-viewer
"scripts": [
"node_modules/nano-pdf-book-viewer/scripts/pdf.2-11-338.worker.min.js",
"node_modules/nano-pdf-book-viewer/scripts/pdf.2-11-338.min.js"
]
AppModule
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { NanoPdfBookViewerModule } from 'nano-pdf-book-viewer';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
NanoPdfBookViewerModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
[pdfSrc]
set this property to point to the PDF you'd like to load. Changing this property will result in loading the new PDF. Note that this value needs to be a valid URL[pageNumber]
allows the developer to set the current page. It always performs the animation.(loading)
emits true
and false
based on the state of the component; Downloading PDF, Rendering, etc. Once it's done rendering emits true
.(pdfPageCount)
emits the total number of pages once the PDF has been downloaded and parsed.FAQs
A small PDF viewer in shape of a book for Angular Angular 13^
The npm package nano-pdf-book-viewer receives a total of 5 weekly downloads. As such, nano-pdf-book-viewer popularity was classified as not popular.
We found that nano-pdf-book-viewer 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.