{"id":19806620,"url":"https://github.com/timnew/hexo-console-clean-asset-folder","last_synced_at":"2025-05-01T07:30:58.663Z","repository":{"id":57263246,"uuid":"23077890","full_name":"timnew/hexo-console-clean-asset-folder","owner":"timnew","description":"Hexo plugin that remove empty asset folders","archived":false,"fork":false,"pushed_at":"2015-12-16T03:33:49.000Z","size":7,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T10:52:11.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/timnew.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":"2014-08-18T16:13:20.000Z","updated_at":"2018-09-06T07:30:47.000Z","dependencies_parsed_at":"2022-09-01T04:27:27.369Z","dependency_job_id":null,"html_url":"https://github.com/timnew/hexo-console-clean-asset-folder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timnew%2Fhexo-console-clean-asset-folder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timnew%2Fhexo-console-clean-asset-folder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timnew%2Fhexo-console-clean-asset-folder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timnew%2Fhexo-console-clean-asset-folder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timnew","download_url":"https://codeload.github.com/timnew/hexo-console-clean-asset-folder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251840158,"owners_count":21652292,"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":[],"created_at":"2024-11-12T09:08:01.521Z","updated_at":"2025-05-01T07:30:58.417Z","avatar_url":"https://github.com/timnew.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**\u003ch2\u003eOBSOLETE WARNING\u003c/h2\u003e**  \n\n**This Plug-in is designed to be the companion of [hexo-tag-asset-res](https://github.com/timnew/hexo-tag-asset-res) for Hexo 2. And it is considered to be obsoleted after Hexo 3 released, which already has the `asset-folder` feature built-in.**\n\nhexo-console-clean-asset-folder [![NPM version][npm-image]][npm-url] [![Dependency Status][depstat-image]][depstat-url]\n===============================\n\n\u003e [Hexo] console plugin that remove empty asset folders\n\n## Install\n\nInstall using [npm][npm-url].\n\n    $ npm install hexo-console-clean-asset-folder --save\n\n## Usage\n\nWith the help of `hexo-console-clean-asset-folder`, now you can feel free to have following config in your `_config.yml`\n\n```yaml\npost_asset_folder: true\n```\nAfter you finished the post composition, run following command\n\n```\n  $ hexo clean_asset_folder\n```\nOr\n```\n  $ hexo caf\n```\nThen all the empty asset folders will be removed automatically\n\n## Advanced Usage\n\nIf you have empty folders in folder other than `source/_drafts` or  `source/_posts`. You can specify the path in this way:\n\n```\n  $ hexo caf --no-draft --no-post themes/my_awesome_theme\n```\n\nAll the empty folder under `themes/my_awesome_theme` will be cleaned.\n\n* Switch `--no-draft` prevent plug-in to scan `/source/_drafts` folder\n* Switch `--no-post`  prevent plug-in to scan `/source/_posts` folder\n\n## License\nMIT\n\n[![NPM downloads][npm-downloads]][npm-url]\n\n[homepage]: https://github.com/timnew/hexo-console-clean-asset-folder\n\n[npm-url]: https://npmjs.org/package/hexo-console-clean-asset-folder\n[npm-image]: http://img.shields.io/npm/v/hexo-console-clean-asset-folder.svg?style=flat\n[npm-downloads]: http://img.shields.io/npm/dm/hexo-console-clean-asset-folder.svg?style=flat\n\n[depstat-url]: https://gemnasium.com/timnew/hexo-console-clean-asset-folder\n[depstat-image]: http://img.shields.io/gemnasium/timnew/hexo-console-clean-asset-folder.svg?style=flat\n\n[Hexo]: http://hexo.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimnew%2Fhexo-console-clean-asset-folder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimnew%2Fhexo-console-clean-asset-folder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimnew%2Fhexo-console-clean-asset-folder/lists"}