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

nofan

v2.1.2

Published

CLI for Fanfou

Readme

Nofan

CLI for Fanfou

Features

  • Fetch home-timeline
  • Fetch public-timeline
  • Fetch mentions-timeline
  • Fetch context-timeline
  • Fetch self-timeline
  • Fetch user-timeline
  • Fetch trends-timeline
  • Fetch status item
  • Search statuses
  • Post statuses
  • Post photos
  • Reply status
  • Repost status
  • Multiple account login
  • HTTPS secure connection
  • Customizable timeline
  • Customizable color themes
  • Customizable GET/POST request

Install

npm i -g nofan

Login

nofan login

Usage

Commands

nofan -h                     # Show help
nofan config                 # Config nofan
nofan colors                 # Customize color style
nofan login                  # Login fanfou account
nofan logout                 # Logout current account
nofan switch                 # Switch fanfou account
nofan                        # Fetch home timeline
nofan home|h                 # Fetch home timeline
nofan mentions|m             # Fetch mentions timeline
nofan me                     # Fetch self timeline
nofan public|p               # Fetch public timeline
nofan context|cont           # Fetch context timeline
nofan trends|tr              # Fetch trends timeline
nofan search|se <query>      # Search public timeline
nofan user <id>              # Fetch user timeline
nofan show <id>              # Fetch status item
nofan reply|re <id> [text]   # Reply status
nofan repost|rt <id> [text]  # Repost status
nofan undo                   # Delete last status
nofan <text> [more...]       # Post status
nofan get <uri>              # Create GET request
nofan post <uri>             # Create POST request

Tips

Color Scheme

Use nofan colors to customize your color scheme.

Format

Use dot . to separeate multiple styles.

Here is valid styles list.

Example

> #ff99cc
> bold.#ff0000
> pink.underline
> cyanBright
> orange.inverse.underline
> bgYellow.black

Photos Posting

Nofan support post a photo from a local path or clipboard:

Use -p or --photo to post photo from local path

nofan unicorn -p ~/Desktop/heart.png

Use -c or --clipboard to post photo from clipboard (only support macOS, Windows and WSL)

nofan hi my love -c

Verbose Mode

Now we have a verbose mode for the timeline.

Reply & Repost

You could do a quick action by use reply and repost command:

Use re or reply to reply

nofan re _5gqZTpjAlM hi litomore

Use rt or repost to repost

nofan rt _5gqZTpjAlM hi litomore

API Parameter Flags

Nofan is very easy to use, but also very powerful. You could pass to API parameters as flags to the CLI.

Fetch home-timeline with pagination

nofan --page=2

Search statuses with specific page size

nofan search unicron --count=60

Customizable GET/POST Request

Use nofan get or nofan post to make a GET/POST request:

Make a GET request

nofan get account/notification

Make a GET request with parameters

nofan get statuses/home_timeline --mode=lite

Make a POST request with parameters

nofan post statuses/update --status=hi

Specify a console type

You could specify a console type for output, default is console.log:

nofan get account/notification --console-type=table

REPL

You could use --repl option to inspect the result in REPL:

nofan get users/show --id=litomore --repl

#=> result.name
#=> 'LitoMore' 

Related

License

MIT