{"id":25044915,"url":"https://github.com/thiagojacinto/js-listfilter","last_synced_at":"2026-05-01T06:31:34.036Z","repository":{"id":133694172,"uuid":"290652707","full_name":"thiagojacinto/js-listFilter","owner":"thiagojacinto","description":"Listando arquivos de um diretório a partir do nome ou extensão com JavaScript","archived":false,"fork":false,"pushed_at":"2020-09-02T01:02:45.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T13:28:57.819Z","etag":null,"topics":["commanderjs","javascript","node-cli-learn","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/thiagojacinto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-08-27T02:18:19.000Z","updated_at":"2020-09-02T01:02:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"2fd3bfd0-626b-4a2e-975f-32bbc1e0d677","html_url":"https://github.com/thiagojacinto/js-listFilter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thiagojacinto/js-listFilter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagojacinto%2Fjs-listFilter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagojacinto%2Fjs-listFilter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagojacinto%2Fjs-listFilter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagojacinto%2Fjs-listFilter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiagojacinto","download_url":"https://codeload.github.com/thiagojacinto/js-listFilter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagojacinto%2Fjs-listFilter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32487300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["commanderjs","javascript","node-cli-learn","nodejs"],"created_at":"2025-02-06T05:19:48.786Z","updated_at":"2026-05-01T06:31:34.031Z","avatar_url":"https://github.com/thiagojacinto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JS CLI filtrando arquivos de um diretório.\n Listando arquivos de um diretório a partir do nome ou extensão com JavaScript\n\n## Como utilizar\n\nApós instalar o NodeJS LTS 12+ e realizar o clone neste repositório, pelo terminal digite:\n\n```\nnpm install\nnode index.js --help\n```\n\nQue, além de instalar as dependências necessárias, irá resultar na lista básica de comandos para utilizar a aplicação:\n\n```\nUsage: index [options]\n\nOptions:\n  -V, --version          output the version number\n  -d, --diretorio \u003cdir\u003e  nome de diretório (ex: 'caminho/para/diretorio/') (default: \"./mocks\")\n  -t, --tipo \u003ctipo\u003e      se é por nome ou por extensão que vai ser filtrado (ex: 'nome' ou 'extensao')\n                         (default: \"nome\")\n  -f, --filtro \u003cfiltro\u003e  o nome ou extensão de filtro (ex: 'txt' ou 'nomearquivo') (default: \"txt\")\n  -dbg, --debug          Debuggar parametros\n  -h, --help             display help for command\n```\n\nO uso de valores padrões para os comandos visa facilitar o uso, mas uma chamada de exemplo é:\n\n```\nnode index.js --tipo extensao --filtro txt\n\n\u003e Output:\narquivo copy 3.txt\narquivo copy.txt\narquivo.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagojacinto%2Fjs-listfilter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagojacinto%2Fjs-listfilter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagojacinto%2Fjs-listfilter/lists"}