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

@urdenko/print-wanted

v1.0.11

Published

Joke about wanted criminal-friend

Downloads

12

Readme

A prank about wanted criminal which you can print on the letterhead specifying anyone you knows.

This example help you understand or to recall principle of the web-components. Maybe you can find out some new about web-components or ways to print directly from web browsers.

How can you run it

The easiest way to run the example is do it in the Stackblitz. Just pick your stack:

  1. Run on Stackblitz using Angular
  2. Run on Stackblitz using React
  3. Run in mobile browsers

If you want to dive into code use the Webpack Dev Server inside the example via npm i && npm start

What want I point

  • You can use instance of web-component to directly work with its properties and methods. It's more convenient than use string attributes and DOM events.
  • Use *.d.ts Typescript file to describe interface of your web component in the package.
  • Yes, the web component can influence whole DOM of web page after call connectedCallback method. Use it with caution. In this example it have done as an exception to the normal.
  • This is a good example a "plug and play" architecture which is the web-component strong suit. The PrintWantedForm does not require further setting for print. You need just call print() method.
  • Native JS allowed me made difficult work with async load of Google fonts and fit a whole content into one print page regardless of count of words.
  • It is not hard to give up the dependencies and make a little package.
  • You may use render() method for the print yourself. For example, you can generate pdf on the server side using Puppeteer. Maybe it is difficult way but you will be sure to the expected outcome.

I hope this example will be useful to you!