foldercheck
v1.0.0
Published
A fast CLI utility to find folders anywhere in your project
Maintainers
Readme
foldercheck
Find any folder inside your project — instantly.
╭────────────────────────────────────────────────╮
│ FOLDERCHECK │
├────────────────────────────────────────────────┤
│ Search assets │
│ Found 2 matches │
├────────────────────────────────────────────────┤
│ ./src/assets │
│ ./public/assets │
╰────────────────────────────────────────────────╯Install
npm install -g foldercheckUsage
foldercheck <name>That's it. It searches recursively from your current directory, skips node_modules and .git automatically, and prints every match in a clean box.
Examples
Exact search
foldercheck assetsFuzzy search — useful when you're not sure about the exact name
foldercheck asst --fuzzy
foldercheck asst -fJSON output — pipe into other tools
foldercheck assets --json{
"query": "assets",
"found": true,
"count": 2,
"results": [
"./src/assets",
"./public/assets"
]
}Custom root — search from a different directory
foldercheck components --cwd ./packages/uiNot found
╭────────────────────────────────────────────────╮
│ FOLDERCHECK │
├────────────────────────────────────────────────┤
│ Search randomstuff │
│ Result not found │
╰────────────────────────────────────────────────╯Options
| Flag | Description |
|---|---|
| -f, --fuzzy | Fuzzy search — matches partial and approximate names |
| --cwd <path> | Set a custom root directory to search from |
| --json | Output results as JSON |
| -v, --version | Show version |
| -h, --help | Show help |
Ignored by default
The following directories are never searched:
node_modules · .git · dist · build · .next · .nuxt · .cache · coverage · .turbo · .svelte-kit · out · .yarn
Requirements
- Node.js 18+
License
MIT
