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

niulai

v0.3.1

Published

niu - read-only terminal dashboard for Binance perpetuals and spot / 币安永续与现货命令行盯盘工具

Readme

niulai

npm distribution of niu, a read-only terminal watcher for Binance USD-M futures, COIN-M futures and spot.

牛真的来了!

npm i -g niulai
niu

# zero install
npx niulai lx
bunx niulai list --top 10

What it does: a full-screen dashboard, or one-shot snapshots. Funding rate and its annualised cost, open interest and where it sits against its own peak, the four long/short ratios, basis, order book depth, index constituents, and a liquidation estimate for a position you type in yourself. Proxies are discovered automatically and mirror domains are ranked by measured latency. Every query command takes --json.

niu doctor              # proxies, endpoints, mirror latency, weight headroom
niu lx                  # snapshot; lx / longxia / 龙虾 all resolve
niu list --top 10       # market table, sortable
niu --market spot list  # um, cm and spot behind the same commands
niu ai position         # stream an LLM over the live numbers

niu ai takes any OpenAI-compatible endpoint or any local CLI fed on stdin, so analysis can stay on your machine. Presets are markdown files; drop one into ~/.config/niu/prompts/ and it shows up with no Go involved.

The package itself is a launcher. The real program is a single Go binary that arrives through one of the niulai-<platform>-<arch> optional dependencies. If your registry or install flags skip optional dependencies, the postinstall script downloads the same archive from the GitHub release instead; it uses curl first so HTTPS_PROXY is honoured, and NIU_BINARY_MIRROR lets you point at a mirror.

niu only reads public market data. It cannot place orders, it needs no API key, and it is not investment advice.

Full documentation, and five extension points for contributors: https://github.com/VecSum/NiuLai