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

kilosc

v1.1.9

Published

Switch Kilo auth profiles from the command line.

Readme

kilosc

一个用于切换 Kilo auth.json 账号配置的 Bun + TypeScript 命令行工具。

命令

kilosc init
kilosc add
kilosc set
kilosc put
kilosc info

说明:

  • init:输入完整的 Kilo auth.json 路径,并保存到 ~/.kilosc.json
  • add:把当前 auth.json 保存成一个配置快照
  • set:选择配置快照,再选择其中的账号键,并写回当前 auth.json
  • put:从当前 auth.json 选择子项写入已有快照
  • info:显示当前配置路径和快照列表

首次使用前先执行:

kilosc init

示例输入:

/Users/dj/.local/share/kilo/auth.json

配置快照会保存到:

<auth.json 所在目录>/kilosc/<名称>.json

set 只会替换你选择的账号键,不会删除其它 provider。比如选择 openai 时,只会替换 auth.json.openai

本地开发

bun run src/index.ts init
bun run src/index.ts add
bun run src/index.ts set
bun run check

构建

bun run build

npm 命令入口指向:

dist/index.js

本地全局链接

bun run gLink
kilosc init
kilosc add
kilosc set

解除本地全局链接:

bun run gUnlink

发布

bun run proPub

切换配置后,建议重启 Kilo 或 VS Code 扩展后端,确保新的认证信息生效。