{"library":"escalade","type":"library","category":null,"description":"escalade is a minimalistic and performant utility designed for synchronously or asynchronously traversing up parent directories to locate a specific file or directory. It continuously executes a provided callback function for each directory in the ancestry chain until the callback returns a truthy value, at which point the absolute path to the found item is returned, or until the system root directory is reached. The current stable version is `3.2.0`, with releases occurring a few times a year for patches, minor features, and ecosystem compatibility updates (e.g., Deno support, TypeScript resolution fixes). Its primary differentiators are its extremely small footprint (183-210 bytes gzipped) and its clear separation into synchronous and asynchronous execution modes, catering to a wide range of Node.js and Deno environments. It strictly searches direct parent directories and does not explore sibling directories of parents.","language":"javascript","status":"active","version":"3.2.0","tags":["javascript","find","parent","parents","directory","search","walk","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install escalade","imports":["import escalade from 'escalade';","import escaladeSync from 'escalade/sync';","const escalade = require('escalade');"]},{"cmd":"yarn add escalade","imports":[]},{"cmd":"pnpm add escalade","imports":[]}],"homepage":null,"github":"https://github.com/lukeed/escalade","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/escalade","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/escalade/compatibility"}}