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

@liuli-util/saki

v0.2.7

Published

Downloads

67

Readme

saki

中文

I wanted to know how much performance can be improved by writing cli based on golang, so I tried to write this cli application in golang.

saki build

Build lib or cli programs based on esbuild, which is very fast.

saki build lib # build lib
saki build cli # build cli

Performance Testing

The following two cli are based on the build implemented by esbuild, but the real runtime of the latter is very long, because nodejs itself also takes time (and is very slow) to load the code.

$ time saki build lib
Build completed: 13.2977ms

real 0m0.215s
user 0m0.061s
sys 0m0.105s

$ time saki build cli
Build completed: 86.9462ms

real 0m0.296s
user 0m0.075s
sys 0m0.106s
$ time pnpm liuli-cli build lib
Build complete: 29ms

real 0m1.043s
user 0m0.045s
sys 0m0.091s

$ time pnpm liuli-cli build cli
Build complete: 95ms

real 0m1.076s
user 0m0.030s
sys 0m0.152s

saki run

An alternative to pnpm --filter run designed to improve the efficiency of running commands in multiple threads.

saki run setup # run the setup command on all modules (if there is one)
saki run --filter libs/* setup # run the setup command in all modules matching libs/*
# use --filter array
saki run --filter libs/* --filter apps/* setup # or use , to split
saki run --filter libs/*,apps/* setup

Performance Testing

pnpm + liuli-cli + dts

$ time pnpm --filter .run setup

real 0m45.186s
user 0m0.015s
sys 0m0.060s

pnpm + liuli-cli

$ time pnpm --filter .run setup

real 0m15.026s
user 0m0.030s
sys 0m0.045s

saki + liuli-cli (you can see here that although they are all multi-threaded, golang is twice as fast)

$ time saki run setup

real 0m7.166s
user 0m0.000s
sys 0m0.000s

pnpm + saki

$ time pnpm --filter .run setup

real 0m1.186s
user 0m0.030s
sys 0m0.045s

saki (almost unimaginable with a js toolchain)

$ time saki run setup

real 0m0.592s
user 0m0.000s
sys 0m0.015s

Use git bash --filter parameter under Windows, please wrap it with ""