{"id":17749453,"url":"https://github.com/oresoftware/waldo","last_synced_at":"2026-02-06T20:31:05.438Z","repository":{"id":57134200,"uuid":"132645479","full_name":"ORESoftware/waldo","owner":"ORESoftware","description":"Because the unix `find` command sucks horribly.","archived":false,"fork":false,"pushed_at":"2018-09-04T01:06:57.000Z","size":56,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T09:18:07.224Z","etag":null,"topics":["command-line-tool","find","nodejs","unix-utilities","waldo"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ORESoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-08T17:55:25.000Z","updated_at":"2025-03-06T11:30:56.000Z","dependencies_parsed_at":"2022-09-04T05:34:06.064Z","dependency_job_id":null,"html_url":"https://github.com/ORESoftware/waldo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ORESoftware/waldo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fwaldo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fwaldo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fwaldo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fwaldo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ORESoftware","download_url":"https://codeload.github.com/ORESoftware/waldo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fwaldo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267505099,"owners_count":24098346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line-tool","find","nodejs","unix-utilities","waldo"],"created_at":"2024-10-26T11:23:22.711Z","updated_at":"2026-02-06T20:31:05.424Z","avatar_url":"https://github.com/ORESoftware.png","language":"TypeScript","readme":"\n\n# @oresoftware/waldo\n\nGNU/BSD `find` kills me sometimes, so I wrote this.\n\n### install:  \n\n```bash\n\n# for command line tools\nnpm install -g waldo\n\n# for library usage\nnpm install waldo --save\n\n```\n\n### At the command line:\n\n##### Basic usage\n\n```bash\nwaldo  ### lists all matching files and dirs in the current working dir\n```\n\n```bash\nwaldo --path=\".\"  ### lists all matching files and dirs, in the current working dir\n```\n\nNote that if you omit the --path arg, it defaults to `$PWD/.`\n\n```bash\nwaldo --path=\".\" --dirs  ### will not list dirs, -d for short\n```\n\n```bash\nwaldo --path=\".\" --files  ### will not list files, -f for short\n```\n\n```bash\nwaldo --path=\".\" --symlinks  ### will not list symlinks, -s for short\n```\n\n##### Using matching\n\n```bash\nwaldo --path=\".\" -n /node_modules/   # don't match any path that has /node_modules/ in it\n\nwaldo --path=\".\" -n ^/node_modules/   # don't match any path that starts with /node_modules/ \n\nwaldo --path=\".\" -n '\\.js$'   # don't match any path ends that with '.js'\n\nwaldo --path=\".\" -m '\\.js$'   #  match only paths that end that with '.js'\n```\n\n\n# Library Usage\n\n```js\n\nimport {WaldoSearch} from '@oresoftware/waldo';\n\nnew WaldoSearch({\n  \n  path,  // the path you which to search\n  matchesAnyOf,  // array of strings or RegExp\n  matchesNoneOf, // array of strings or RegExp\n  dirs,   // list dirs\n  files   // list files (true by default)\n  \n})\n.search((err, results) =\u003e {\n\n    // results is your array of strings\n});\n\n\n```\n\n### to use with ES6 Promises\n\n##### =\u003e Use the searchp() method\n\n```js\nnew WaldoSearch({...}).searchp().then(results =\u003e {\n\n    // results is your array of strings\n});\n\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Fwaldo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foresoftware%2Fwaldo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Fwaldo/lists"}