npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cloudpdf/viewer-angular

v3.0.0-next.15

Published

The full viewer as an Angular component with the CloudPDF engine as its default: the same <epdf-pdf-viewer> as @embedpdf/viewer-angular, rendering on CloudPDF SaaS or your own @cloudpdf/server over HTTPS, the local engine loaded only when stamps need it.

Readme

@cloudpdf/viewer-angular

The full EmbedPDF viewer as an Angular component, with the CloudPDF engine as its default. There is no WebAssembly and no Web Worker in your bundle for reading: rendering happens on CloudPDF (the SaaS, or your own @cloudpdf/server), so the only thing that crosses the network is HTTPS API traffic.

npm install @cloudpdf/viewer-angular
import { Component, input } from '@angular/core';
import { EpdfPdfViewer } from '@cloudpdf/viewer-angular';

@Component({
  selector: 'app-report',
  imports: [EpdfPdfViewer],
  template: `<epdf-pdf-viewer [src]="{ token: token() }" style="height: 100vh" />`,
})
export class Report {
  readonly token = input.required<string>();
}

src is the document: { token } with a document token your backend creates for the user (a string, or a function that gives a fresh one), { id } when the engine's own token already allows it, or { shareToken } with a share link from the dashboard. Another src opens in its place. For several documents at once, pass documents: entries of { src, name, password, active }.

The viewer connects to CloudPDF SaaS (https://engine.cloudpdf.com). Your own @cloudpdf/server goes in the engine's settings: engine: { baseUrl: 'https://pdf.example.com' }, with the engine's own token and fetch beside it.

It is the open viewer, with its engine swapped

This package is a door over @embedpdf/viewer-angular, as that package is the same viewer with the built-in engine: the component is the same EpdfPdfViewer (<epdf-pdf-viewer>), and so is every name around it. Everything the open viewer accepts works here unchanged (layout, commands, icons, strings, theme, plugins, your components inside it, the ready callback) and its documentation applies verbatim. Only the documents are in the cloud's words.

Documentation

https://www.cloudpdf.com

License

Apache-2.0 — see LICENSE.

Everything CloudPDF ships to a browser is open source; everything that runs on a server is commercial. This package is browser-side, so it is Apache-2.0 — as is the viewer it wraps, from the EmbedPDF open-source project. Rendering happens on a CloudPDF deployment (the SaaS, or a self-hosted @cloudpdf/server under a separate written agreement), which is the commercial part.