{"library":"traverse","type":"library","category":null,"description":"The `traverse` package provides utility functions for deep traversal and transformation of JavaScript objects. It allows developers to recursively walk through object graphs, including arrays and nested objects, and perform operations such as in-place modification, deep cloning, and collection of specific nodes. Key features include explicit handling of circular references, various traversal methods like `map`, `forEach`, `reduce`, `paths`, and `nodes`, and a rich `this` context within callbacks providing information about the current node, its parent, path, and depth. The current stable version is 0.6.11, last updated several years ago, indicating an inactive release cadence. Its primary differentiator is its robust context object during traversal and explicit circular reference management. It is primarily a CommonJS module, which may require specific handling in modern ESM-only environments.","language":"javascript","status":"abandoned","version":"0.6.11","tags":["javascript","traverse","walk","recursive","map","forEach","deep","clone"],"last_verified":"Wed May 27","install":[{"cmd":"npm install traverse","imports":["const traverse = require('traverse');","import traverse from 'traverse';","import traverse = require('traverse');"]},{"cmd":"yarn add traverse","imports":[]},{"cmd":"pnpm add traverse","imports":[]}],"homepage":null,"github":"https://github.com/ljharb/js-traverse","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/traverse","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/traverse/compatibility"}}