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

@cirru/jiuzhang

v0.0.4-a2

Published

九章(jiuzhang) dialect

Readme

九章编程(jiuzhang dialect)

Status: only a prototype. not under development.

Toy project of mimicing Ancient Chinese programming. Based on Cirru project. Learning from The Nine Chapters on the Mathematical Art.

Previews http://jiuzhang.cirru.org/ .

Originals https://zh.m.wikisource.org/zh-hans/九章算術 .

昔在庖牺氏始画八卦,以通神明之德,以类万物之情,作九九之术,以合六爻之变。暨于黄帝神而化之,引而伸之,于是建历纪,恊律吕,用稽道原,然后两仪四象精微之气可得而效焉。记称“隶首作数”,其详未之闻也。按周公制礼而有九数,九数之流,则《九章》是矣。

Usage

npm

yarn global add @cirru/jiuzhang

jiuzhang demo.cirru

# 或者 9c(nine chapters)
9c demo.cirru

Examples

注释:

按 "此乃例句, 毋究之"

数值:

三十三

字符串, 以 |: 为首. 若含特殊字符, 裹之以引号:

|文
"|文, 文"

变量定义:

有 甲 三十三
今有 甲 三十三
又有 甲 三十三

示以数据:

答曰 |丙为 丙

数列:

今有 丁 $ 列 甲 乙 丙

答曰 丁

按 "\"得\"同\"答曰\""
得 丁

括号所裹, 为表达式. 结尾处以单个 $ 包裹亦可, 以双格缩进裹表达式亦可:

今有 丁 (列 甲 乙 丙)

按 同上
今有 丁 $ 列 甲 乙 丙

按 同上
今有 丁
  列 甲 乙 丙

哈希表:

今有 戊 $ 置
  |乾 一
  |坤 二
  |坎 三
  |离 四

答曰 戊

函数:

术曰 问相加几何 (子 午)
  得 $ 加 子 午

答曰 |其和 $ 问相加几何 甲 乙

条件语句, 以开头, 以合并, 以虚 实 为值:

今有 几何者 $ 列 虚 实

若 实
  则
    答曰 |非虚也
    答曰 |然而
  则
    答曰 |虚也

空值, 记为:

得 空

四则计算:

得 $ 并 甲 甲 甲
得 $ 乘 甲 甲 甲

得 $ 自乘 八十

得 (减 一百) (减 一百 二) (减 一百 二 三十)

得 (除 一百) (除 一百 二) (除 一百 二 三十)

js/Math.min 取运行平台之函数,

得 $ js/Math.min 两百 一百 四百

取模块, clj/js->clj 取数据转化之法:

今有 文件服务 $ 引 fs

得 $ clj/js->clj $ .readdirSync 文件服务 |./

Workflow

https://github.com/calcit-lang/respo-calcit-workflow

License

MIT