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 🙏

© 2025 – Pkg Stats / Ryan Hefner

comic-viewer

v0.4.1

Published

Run a comic viewer website

Readme

Comic Viewer

Run a comic viewer website locally.

Install

npm install -g comic-viewer

Usage

Comic Viewer

Usage:
  comic-viewer [--port <port>] (--start | --stop)
  comic-viewer [--port <port>] [--start | --stop] [--run-with <browser>] <file>
  comic-viewer --help | --version
  
Options:
  --port <port>         Set the port of the server. [default: 8080]
  --start               Start the server, if the server is not already running.
  --stop                Stop the server.
  --run-with <browser>  Specify browser executable.
  <file>                The file to open, if provided.
  --help                Show help message.
  --version             Show version number.

For example:

comic-viewer --start "C:\My Pictures\test.jpg"

Hotkeys

  • [ - previous directory.
  • ] - next directory.
  • q - upper level directory.
  • b - bookmark this file.
  • shift+b - open latest bookmark.
  • ctrl+enter - open explorer.
  • shift+pageup - scroll up one page.
  • shift+pagedown - scroll down one page.
  • 0 - show original size.
  • 8 - match window width.
  • = - zoom in.
  • - - zoom out.

Todos

  • In firefox with overflow hidden, the page won't scroll to correct position while searching.

Related apps

  • https://www.ptt.cc/bbs/EZsoft/M.1303122670.A.D98.html
  • https://www.ptt.cc/bbs/EZsoft/M.1445671038.A.4AF.html
  • https://www.ptt.cc/bbs/EZsoft/M.1433411258.A.B80.html

Changelog

  • 0.4.1 (Dec 2, 2025)

    • Fix: exclude unwanted files in package.
  • 0.4.0 (Dec 2, 2025)

    • Update dependencies.
    • Fix security issues. Now open command can only start folders and images.
    • Add: use natsort.
  • 0.3.1 (Apr 12, 2016)

    • Fix bower command not found bug.
  • 0.3.0 (Apr 12, 2016)

    • Drop bower depency, use github tarball.
  • 0.2.0 (Apr 11, 2016)

    • Replace opener with open.
    • Add --run-with option.
    • Only read lock file if --start/--stop is set.
    • Change some style.
    • Fix bookmark bug.
    • Add resize function.
  • 0.1.1 (Apr 9, 2016)

    • Fix prev/next undefined bug.
    • Use localhost hostname.
  • 0.1.0 (Apr 9, 2016)

    • First release