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

@readshape/covers

v1.1.2

Published

Library for generating unique, repeatable book covers on the fly

Readme

Covers by ReadShape

Summary

What is this?

So. Books have covers, right? Well, yes, but actually no.

Books are tricky business. If the book is self published then it might not have a cover or an ISBN. Other times a book might be incredibly old and never really had a cover to begin with.

How this helps with it?

No one is going to make covers for these books, but that doesn't mean we can just leave them naked & coverless. We want to create a beautiful UI so we have to show something.

So that is what we do. We will, given the same input arguments, always create the same cover on the fly. It will obviously not be a "real" cover, but it's better than nothing or just a gray cover.

Examples

What variance is there?

The covers have some variation. Each cover can be broken down into multiple pieces.

Cover color

A cover (might) have a unique color. It can be the following.

  • Gradient based on input hash
  • Static predefined color

Detail placement (title & author)

Details have predefined placement, but it still has the following variance.

  • Top (left, center, or right)
  • Bottom (left, center, or right)

Flow field

We generate a flow field based on the input hash. This affects the pattern.

Pattern

There are the following patterns we can draw.

  • Circle
  • Waves

Outcomes

Zeit zu leben und Zeit zu sterben Letters from a Stoic The Wonderful Wizzard of Oz Beyond Good and Evil Klara and the Sun Puma Years