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

myfview

v1.2.1

Published

Myfile viewer

Readme

myfview - A myfile viewer

NPM Publish

Installation

In the terminal:

npm install --save myfview

Then, in an Express app:

app.use(require("myfview")({
    "profilePath": "myfview-config/myfiles/", 
        //Myfiles will be looked up from here, followed by .json
    "configPath": "myfview-config/config.json"
        //This is your config file! Most settings are in here and are reloaded upon changes.
}));

or in the terminal to test with the built-in server:

git clone https://github.com/bleonard252/myfview myfview
cd myfview
DEBUG=app node index.js

What does this module do?

myfview hosts myfiles. You can include it on an Express-based website as a middleware. It shows an HTML-based rendering to browsers (so, a webpage) using the Nunjucks rendering engine. You can also curl the myfile to get a fancy terminal-optimized version, or override it with the type query parameter, i.e. //username?type=json. You can read the docs for more details on what you can do.

What is a myfile?

A myfile is a simple JSON-based profile used to represent people, objects, places, or anything that can have a name, description (or, in the case of a person, bio), and picture. In fact, there are no required fields, so a myfile can look like this:

{}

A more advanced myfile might look like this:

{
    "name": "Blake Leonard",
    "description": "I am the owner of Blogold. I am primarily a web developer.",
    "picture": "https://blogold.xyz/images/logos/avatar4.png",
    "io.keybase.acct": "bleonard252",
    "email": "[email protected]",
    "m.id": "@bleonard252:matrix.org",
    "type": "person",
    "ap:actor": "https://social.b252.gq/users/blake.json",
    "publickey": "...",
    "links": [
        "[Blake's Social](https://social.b252.gq/blake)",
        "[Mastodon](https://mastodon.host/@blakel252)",
        "[Misintelligence](https://bb.blogold.xyz)",
        "[Reddit](https://reddit.com/u/bleonard252)",
        "[More ID's](https://blogold.xyz/id)"
    ]
}

(In fact, that's my myfile! see it here)

Why does myfview look for "//"?

The URL is actually the myfile address! It follows the general format of [domain]//[username]. The https://whatever.com part is the "domain", and the part that identifies the user on that domain is the "username." This syntax means that the profile you're referring to with this address is uniquely a myfile.

Read more about myfiles here.