Built something? We create video reels & spotlights for GitHub projects.Promote your project →
agentscope-ai-java
Home / TypeScript / json-guard

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.

TypeScript ◇ dos MIT
★78STARS
⑂0FORKS
!0ISSUES
🏆#7,121GLOBAL RANK
🔥4DAYS TRENDING
🚀
Maintainer Growth Kit for json-guard

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for agentscope-ai-java/json-guard
CSV

Momentum

+10

STARS · LAST 30 DAYS

1

PER DAY

#719

MOST-STARRED TypeScript

Window7 days30 days90 days
Stars gained+7+10+90
Per day111
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

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

1

Optimized execution pipeline written in TypeScript for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ 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

1

Install json-guard using your package manager: `npm install json-guard`

2

Initialize your project workspace or configuration file for json-guard.

3

Import json-guard into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `json-guard --help` to verify successful setup.

👍 Strengths

Active community backing with 44 GitHub stars and verified adoption.
Permissive open-source distribution under the MIT license.
Built in TypeScript for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with TypeScript and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

F
freeCodeCamp/freeCodeCamp ★ 456.3K TypeScript

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

Compare ↗
D
deepseek-ai/deepseek-harness ★ 237.6K TypeScript

DeepSeek Harness: Everything is a Plugin.

Compare ↗
V
vuejs/vue ★ 212.8K TypeScript

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Compare ↗
O
anomalyco/opencode ★ 210.6K TypeScript

The open source coding agent.

Compare ↗

👥 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:

RankRepositoryLanguageStarsAction
#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.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.