agentscope-ai-java/json-guard
JSON.parse with hard limits on nesting depth, key count, string length and input size. Refuses parser bombs before they are allocated.
Star History
Momentum
+10
STARS · LAST 30 DAYS
1
PER DAY
#719
MOST-STARRED TypeScript
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +7 | +10 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +1 | +3 | +10 |
json-guard gained 10 stars in the last 30 days, about 1 a day, and now has 78. It is about 1 year old and has averaged roughly 78 stars a year. It ranks #719 among TypeScript repositories and #7,121 across all languages on GitHubRepo.
Trending Record
4
DAYS ON TRENDING
#186
BEST RANK
Sep 25, 2026
FIRST APPEARANCE
Active
STATUS TODAY
json-guard has maintained a continuous presence across global trending indexes, peaking at #186. Below is the 30-day activity profile:
💡 Overview
json-guard is an open-source project written in TypeScript: JSON.parse with hard limits on nesting depth, key count, string length and input size. Refuses parser bombs before they are allocated.
Engineered for speed, consistency, and developer ease, it solves common hurdles in dos, json, nodejs. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in TypeScript for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ npm install json-guard
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Node.js >= 18, npm, pnpm or bun
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
json-guard coordinates its core functionality through a modular TypeScript pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed json-guard into TypeScript backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open MIT license.
🚀 Getting Started
Install json-guard using your package manager: `npm install json-guard`
Initialize your project workspace or configuration file for json-guard.
Import json-guard into your codebase or invoke it directly from your terminal.
Execute your test suite or run `json-guard --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with TypeScript, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
agentscope-ai-java/json-guard is currently ranked #7,121 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #7,115 | jorgeortiz85/scala-javautils | Scala | ★ 79 | Compare ↗ |
| #7,115 | slidefirm/NESA-SLIDE | JavaScript | ★ 79 | Compare ↗ |
| #7,115 | shixian64/jm-web | JavaScript | ★ 79 | Compare ↗ |
| #7,115 | MangoGreenTeaz/FaultLens | Go | ★ 79 | Compare ↗ |
| #7,115 | kerim0x1/bettercode | TypeScript | ★ 79 | Compare ↗ |
| #7,121 | agentscope-ai-java/json-guard This Project | TypeScript | ★ 78 | |
| #7,121 | schleyfox/peach | Ruby | ★ 78 | Compare ↗ |
| #7,121 | f3z0/rails-ad-server | Ruby | ★ 78 | Compare ↗ |
| #7,121 | DanielVartanov/ruby-geometry | Ruby | ★ 78 | Compare ↗ |
| #7,121 | bmabey/webrat-tmbundle | — | ★ 78 | Compare ↗ |
| #7,121 | aquasync/ruby-ole | Ruby | ★ 78 | Compare ↗ |
Frequently Asked Questions
What does json-guard do? +
JSON.parse with hard limits on nesting depth, key count, string length and input size. Refuses parser bombs before they are allocated.
What language is json-guard written in? +
The primary language is TypeScript. Topics include: dos, json, nodejs, security, typescript.
Is json-guard actively maintained? +
Yes, the last recorded push was on Sep 24, 2026 with 0 open issues being tracked.
How many stars does json-guard have? +
json-guard has 78 stars and 0 forks on GitHub.
How does json-guard rank among GitHub repositories? +
With 78 stars, agentscope-ai-java/json-guard is ranked #7,121 globally across all repositories tracked on GitHubRepo and #719 among TypeScript projects.
What license is json-guard distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.