{"library":"dir","type":"library","category":null,"description":"The `dir` package, version 0.1.2, provides a utility for Node.js to inspect objects in a 'Firebug-like' manner. Published over a decade ago, its primary goal was to offer more comprehensive object inspection, including prototype chain traversal, than Node.js's built-in `util.inspect` at the time. Unlike `util.inspect`, it aimed to return a real object for shell integration and better-colored output, even monkey-patching `console.dir`. The package has seen no updates since its initial release and is considered abandoned, with modern Node.js `console.dir` and `util.inspect` offering robust and actively maintained alternatives that supersede its original functionality. It is not compatible with modern ESM environments without additional tooling.","language":"javascript","status":"abandoned","version":"0.1.2","tags":["javascript","dir","shell","firebug","util","inspect"],"last_verified":"Wed May 27","install":[{"cmd":"npm install dir","imports":["const dir = require('dir');","require('dir');\nconsole.dir(myObject);"]},{"cmd":"yarn add dir","imports":[]},{"cmd":"pnpm add dir","imports":[]}],"homepage":null,"github":"https://github.com/aseemk/node-dir","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dir","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/dir/compatibility"}}