{"id":20163833,"url":"https://github.com/systemlight/halfigs","last_synced_at":"2026-04-11T20:36:24.294Z","repository":{"id":41519358,"uuid":"232053618","full_name":"SystemLight/halfigs","owner":"SystemLight","description":":white_flower:  Halfigs allows you to delete, copy or create folders directly.【递归操作文件工具】","archived":false,"fork":false,"pushed_at":"2023-10-18T05:45:53.000Z","size":539,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-14T12:18:07.979Z","etag":null,"topics":["files","filesystem","javascript","node8","nodejs"],"latest_commit_sha":null,"homepage":"https://github.com/SystemLight/halfigs/wiki","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/SystemLight.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}},"created_at":"2020-01-06T08:08:06.000Z","updated_at":"2022-07-03T12:52:47.000Z","dependencies_parsed_at":"2024-11-14T00:32:06.773Z","dependency_job_id":"c89c26b7-ec2d-4d8f-a8e7-c8f9adb8c869","html_url":"https://github.com/SystemLight/halfigs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystemLight%2Fhalfigs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystemLight%2Fhalfigs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystemLight%2Fhalfigs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystemLight%2Fhalfigs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SystemLight","download_url":"https://codeload.github.com/SystemLight/halfigs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241600492,"owners_count":19988715,"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":["files","filesystem","javascript","node8","nodejs"],"created_at":"2024-11-14T00:32:01.054Z","updated_at":"2025-10-19T00:29:31.766Z","avatar_url":"https://github.com/SystemLight.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# halfigs\n\n[![NPM version](https://img.shields.io/npm/v/halfigs.svg)](https://www.npmjs.com/package/halfigs)\n\nHalfigs allows you to delete, copy or create folders directly.  \nNPM page: https://www.npmjs.com/package/halfigs\n\n# Installation\n\n```\nnpm install halfigs\n```\n\n# User Guide\n\n```\nconst {halfigs} = require('./main.bundle');\n\nconst {\n  info,\n  create,\n  copy,\n  remove\n}=halfigs\n\n\ncopy.cp(\"./index.html\", \"./a/b/index.html\").then(result =\u003e {\n    console.log(\"cp\", result);\n    return remove.rm(\"./a\");\n}).then(result =\u003e {\n    console.log(\"rm\", result);\n});\n\ncreate.createNestedFile(\"./k/b/c/index.txt\", \"hello,file\").then(result =\u003e {\n    console.log(\"createNestedFile\", result);\n    return info.exists(\"./k/b/c/index.txt\");\n}).then(result =\u003e {\n    console.log(\"exists\", result);\n});\n```\n\n# Note\n\n- None\n\n# Resources\n\nYou can read [halfigs Documentation](https://github.com/SystemLight/halfigs/wiki/API-Document) online for more\ninformation.\n\n# License\n\nhalfigs uses the MIT license, see LICENSE file for the details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemlight%2Fhalfigs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemlight%2Fhalfigs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemlight%2Fhalfigs/lists"}