{"id":19785238,"url":"https://github.com/hezedu/fuckwinfsdel","last_synced_at":"2025-10-13T23:37:32.575Z","repository":{"id":44116358,"uuid":"44225369","full_name":"hezedu/fuckwinfsdel","owner":"hezedu","description":"Solve Windows can't delete  long paths file's bug.","archived":false,"fork":false,"pushed_at":"2023-06-12T00:27:16.000Z","size":23,"stargazers_count":27,"open_issues_count":1,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-08T10:31:56.289Z","etag":null,"topics":["cli","delete","file","long","nodejs","windows"],"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/hezedu.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":"2015-10-14T05:11:19.000Z","updated_at":"2024-03-08T07:15:07.000Z","dependencies_parsed_at":"2024-06-21T04:16:43.281Z","dependency_job_id":"8f5cc7f5-3909-4699-9851-c0f1de0f4272","html_url":"https://github.com/hezedu/fuckwinfsdel","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hezedu%2Ffuckwinfsdel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hezedu%2Ffuckwinfsdel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hezedu%2Ffuckwinfsdel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hezedu%2Ffuckwinfsdel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hezedu","download_url":"https://codeload.github.com/hezedu/fuckwinfsdel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224225103,"owners_count":17276436,"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","delete","file","long","nodejs","windows"],"created_at":"2024-11-12T06:14:00.551Z","updated_at":"2025-10-13T23:37:27.526Z","avatar_url":"https://github.com/hezedu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fuck win fs del\nNo matter how deep the directory, It can be async's delete all.\n![image](https://github.com/hezedu/SomethingBoring/blob/master/fuckwinfsdel.gif?raw=true)\n\nFor Windows developers. Aslo Can be used Linux, Mac.\n### install\nCLI(global):`npm install fuckwinfsdel -g`\n\nor \n\nAPI(local)`npm install fuckwinfsdel`\n\n## use(CLI)\n`fuckwinfsdel youdir`\n\n### example\n\n`fuckwinfsdel node_modules`\nWill delete current directory's node_modules folder.\n\n`fuckwinfsdel D:\\expressgit\\node_modules`\nWill delete D:\\expressgit\\node_modules folder.\n\n## API\n### fuckwinfsdel(dir, callback)\n### fuckwinfsdel(dir, opts, callback)\n\n### example\n```js\nvar del = require('fuckwinfsdel');\n\ndel('./dist', function(err, result){\n  if(err){\n    return console.log(err);\n  }\n  console.log('end', result);\n  /*\n  result:\n    errCount: error count \n    deep: files' deep\n  */\n});\n```\nopts:`process`,`onFail`.\n### full state example\n```js\n//or \n\ndel('./dist', {\n    process : function(count1, count2){\n      process.stdout.cursorTo(0);\n      process.stdout.write('\\u001b[93m' + count1 + '/' + count2 + '\\u001b[39m');\n    },\n    onFail: function(method, err){\n      console.error(method, err);\n    }\n  },\n  function(err, result){\n\n  });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhezedu%2Ffuckwinfsdel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhezedu%2Ffuckwinfsdel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhezedu%2Ffuckwinfsdel/lists"}