Object Traversal and Transformation
JSON →neotraverse is a JavaScript/TypeScript library designed for deep traversal and in-place transformation of JavaScript objects and arrays through a recursive walk. It stands as a TypeScript rewrite and fork of the popular `js-traverse` package, aiming for API compatibility while introducing significant modernizations. The current stable version is 0.6.18, with recent patch releases indicating active maintenance. Key differentiators include its zero-dependency architecture, minimal footprint (as low as 1.38KB min+brotli for the modern build), native TypeScript support (eliminating the need for `@types/traverse`), and an ESM-first approach. It provides three distinct builds: a default ESM-only build compatible with the original `traverse` API, a 'modern' ESM-only build offering an improved API with context passed as an explicit argument, and a 'legacy' build supporting ES5 and CommonJS for broader compatibility.
Traffic · last 30 days ↓37% vs prev 7d
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇫🇷 France