{"id":16184598,"url":"https://github.com/rmariuzzo/fuf","last_synced_at":"2025-03-19T02:31:19.511Z","repository":{"id":57242698,"uuid":"148940582","full_name":"rmariuzzo/fuf","owner":"rmariuzzo","description":"🔍 fuf – Find Unused Files in a directory.","archived":false,"fork":false,"pushed_at":"2018-09-17T16:25:03.000Z","size":13,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T07:10:42.192Z","etag":null,"topics":["cli","files","find","grep","unused"],"latest_commit_sha":null,"homepage":"https://github.com/rmariuzzo/fuf","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/rmariuzzo.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}},"created_at":"2018-09-15T21:15:19.000Z","updated_at":"2018-09-17T21:16:34.000Z","dependencies_parsed_at":"2022-09-15T04:40:59.783Z","dependency_job_id":null,"html_url":"https://github.com/rmariuzzo/fuf","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmariuzzo%2Ffuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmariuzzo%2Ffuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmariuzzo%2Ffuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmariuzzo%2Ffuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmariuzzo","download_url":"https://codeload.github.com/rmariuzzo/fuf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221720423,"owners_count":16869483,"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","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":["cli","files","find","grep","unused"],"created_at":"2024-10-10T07:10:39.812Z","updated_at":"2024-10-27T19:09:06.230Z","avatar_url":"https://github.com/rmariuzzo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![fuf – Find Unused Files in a directory](.github/banner.svg)\n\n# Installation\n\n```bash\nnpm install fuf\n```\n\n# Usage\n\n```js\nimport fuf from 'fuf'\n\nfuf('target/directory', 'files/directory/**.*')\n  .then(results =\u003e {\n    console.log(results.unused)\n    console.log(results.used)\n  })\n```\n\n# How it works?\n\n 1. **`fuf`** find filenames that will be tested for usage.\n 2. **`fuf`** find the usage of those filenames in files from a target directory.\n 3. **`fuf`** output a list of unused files and a list of used files.\n\n# Development\n\n  1. Clone and fork this repo.\n  2. Install dependencies: `npm install`.\n  3. Do your stuff.\n  4. [Run tests](#test).\n  5. Prepare a pull request.\n\n## Releases\n\n  1. `npm install --global np`\n  2. `np`\n\n\u003cdiv align=center\u003e\n\nMade with :heart: by [Rubens Mariuzzo](https://github.com/rmariuzzo).\n\n[MIT license](LICENSE)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmariuzzo%2Ffuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmariuzzo%2Ffuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmariuzzo%2Ffuf/lists"}