{"id":13454429,"url":"https://github.com/nspragg/filehound","last_synced_at":"2025-03-24T05:33:51.122Z","repository":{"id":44654690,"uuid":"53139183","full_name":"nspragg/filehound","owner":"nspragg","description":"Flexible and fluent interface for searching the file system","archived":false,"fork":false,"pushed_at":"2022-06-26T09:10:05.000Z","size":1085,"stargazers_count":222,"open_issues_count":4,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-14T21:17:24.201Z","etag":null,"topics":["file","filesystem","fluent-interface","promise"],"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/nspragg.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":"2016-03-04T14:02:53.000Z","updated_at":"2024-11-08T17:26:01.000Z","dependencies_parsed_at":"2022-09-26T21:50:53.133Z","dependency_job_id":null,"html_url":"https://github.com/nspragg/filehound","commit_stats":null,"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspragg%2Ffilehound","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspragg%2Ffilehound/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspragg%2Ffilehound/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspragg%2Ffilehound/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nspragg","download_url":"https://codeload.github.com/nspragg/filehound/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217434,"owners_count":20579291,"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":["file","filesystem","fluent-interface","promise"],"created_at":"2024-07-31T08:00:54.002Z","updated_at":"2025-03-24T05:33:50.238Z","avatar_url":"https://github.com/nspragg.png","language":"JavaScript","funding_links":[],"categories":["Packages","Repository","包","目录","Filesystem","JavaScript"],"sub_categories":["Filesystem","文件系统"],"readme":"# Filehound\n\n[![NPM downloads](https://img.shields.io/npm/dm/filehound.svg?style=flat)](https://npmjs.org/package/filehound)\n![npm](https://img.shields.io/npm/v/filehound.svg)\n[![Build Status](https://travis-ci.org/nspragg/filehound.svg)](https://travis-ci.org/nspragg/filehound) [![Coverage Status](https://coveralls.io/repos/github/nspragg/filehound/badge.svg?branch=master)](https://coveralls.io/github/nspragg/filehound?branch=master)\n ![license](https://img.shields.io/badge/license-MIT-blue.svg) \n![github-issues](https://img.shields.io/github/issues/nspragg/filehound.svg)\n![stars](https://img.shields.io/github/stars/nspragg/filehound.svg)\n![forks](https://img.shields.io/github/forks/nspragg/filehound.svg)\n\u003e Flexible and fluent interface for searching the file system\n\n![nodei.co](https://nodei.co/npm/filehound.png?downloads=true\u0026downloadRank=true\u0026stars=true)\n\n\n## Installation\n\n```\nnpm install --save filehound\n```\n\n## Demo\n\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/917111/13683231/7e915c2c-e6fd-11e5-9d58-e7228cf76ccf.gif\" width=\"600\"/\u003e\n\n## Usage\n\nThe example below prints all of the files in a directory that have the `.json` file extension:\n\n```js\nconst FileHound = require('filehound');\n\nconst files = FileHound.create()\n  .paths('/some/dir')\n  .ext('json')\n  .find();\n\nfiles.then(console.log);\n```\n\n## Documentation\nFor more examples and API details, see [API documentation](https://nspragg.github.io/filehound/)\n\n## Test\n\n```\nnpm test\n```\n\nTo generate a test coverage report:\n\n```\nnpm run coverage\n```\n## Contributing\n\n* If you're unsure if a feature would make a good addition, you can always [create an issue](https://github.com/nspragg/filehound/issues/new/choose) first.\n* We aim for high test coverage. Please write tests for any new functionality or changes.\n* Any API changes should be fully documented.\n* Make sure your code meets our linting standards. Run `npm run lint` to check your code.\n* Maintain the existing coding style. There are some settings in `.jsbeautifyrc` to help.\n* Be mindful of others when making suggestions and/or code reviewing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnspragg%2Ffilehound","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnspragg%2Ffilehound","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnspragg%2Ffilehound/lists"}