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 🙏

© 2025 – Pkg Stats / Ryan Hefner

jsonsage

v1.0.9

Published

智能的JSON处理工作流系统,提供自动化监控、验证和转换功能

Downloads

16

Readme

JsonSage

npm version Build Status Coverage Status npm downloads

智能的JSON处理工作流系统,提供自动化监控、验证和转换功能。

特性

  • 自动监控JSON文件变化
  • 智能JSON验证和格式化
  • 完整的指标收集和监控
  • 内置健康检查和错误处理
  • 高性能和可扩展性

项目结构

jsonsage/
├── .github/                 # GitHub配置目录
│   └── workflows/          # GitHub Actions工作流配置
│       ├── test-build.yml  # 测试和构建工作流
│       └── publish.yml     # 发布工作流
├── __tests__/             # 测试文件目录
│   ├── setup.js           # 测试环境设置
│   ├── fileProcessing.test.js
│   ├── healthCheck.test.js
│   ├── logger.test.js
│   └── metrics.test.js
├── docs/                  # 文档目录
│   ├── README.md          # 文档主页
│   ├── api/              # API文档
│   ├── development/      # 开发文档
│   ├── workflows/        # 工作流文档
│   ├── configuration/    # 配置文档
│   └── deployment/       # 部署文档
├── src/                  # 源代码目录
│   ├── utils/           # 工具函数
│   │   ├── logger.js    # 日志工具
│   │   ├── metrics.js   # 指标收集
│   │   └── healthCheck.js # 健康检查
│   └── index.js         # 主入口文件
├── .agentflow.json      # 工作流配置
└── package.json         # 项目配置

快速开始

  1. 安装
npm install jsonsage
  1. 配置 创建 .agentflow.json 文件:
{
  "version": "1.0",
  "triggers": {
    "onFileChange": {
      "patterns": ["**/*.json"],
      "exclude": ["node_modules/**", ".agentflow.json"]
    }
  },
  "actions": {
    "processJson": {
      "agent": "json-processor",
      "config": {
        "validateSchema": true,
        "autoFormat": true
      }
    }
  }
}
  1. 使用
const JsonSage = require('jsonsage');

const sage = new JsonSage({
  // 配置选项
});

sage.start();

文档

详细文档请查看 docs 目录:

贡献

欢迎提交Issue和Pull Request。详细信息请查看贡献指南

许可证

MIT