{"library":"glob-all","type":"library","category":null,"description":"glob-all extends the functionality of the popular `node-glob` library by allowing developers to provide an array of multiple glob patterns instead of a single one. This enables more complex file selection logic, including robust pattern-level exclusion patterns (e.g., `!files/x/**`) that are evaluated sequentially, a feature not natively available in `node-glob`'s single-pattern API. It provides both asynchronous and synchronous APIs, mirroring `node-glob`'s interface. The current stable version is 3.3.1, with the latest release (in 2024) primarily focusing on dependency updates, indicating a maintenance-level release cadence. A key differentiator is its sophisticated handling of pattern precedence for duplicate files, where the result from a more precise pattern takes priority. Additionally, it optimizes performance across multiple patterns by internally leveraging `node-glob`'s `statCache` option, preventing redundant file system lookups. This makes it suitable for build systems and manifest generation where complex, ordered file selections are required.","language":"javascript","status":"maintenance","version":"3.3.1","tags":["javascript","glob","multi","all","manifest","generation","file"],"last_verified":"Wed May 27","install":[{"cmd":"npm install glob-all","imports":["const glob = require('glob-all');\nglob(patterns, options, callback);","const glob = require('glob-all');\nconst files = glob.sync(patterns, options);","import glob from 'glob-all';"]},{"cmd":"yarn add glob-all","imports":[]},{"cmd":"pnpm add glob-all","imports":[]}],"homepage":null,"github":"https://github.com/jpillora/node-glob-all","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/glob-all","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/glob-all/compatibility"}}