{"id":13725987,"url":"https://github.com/terkelg/eliminate","last_synced_at":"2025-07-29T12:32:33.318Z","repository":{"id":29547930,"uuid":"122014192","full_name":"terkelg/eliminate","owner":"terkelg","description":"Delete files and directories without all the bullshit.","archived":false,"fork":false,"pushed_at":"2022-03-24T10:54:38.000Z","size":62,"stargazers_count":54,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-26T23:53:46.158Z","etag":null,"topics":["delete","elimination","io","remove","rm","rmdir"],"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/terkelg.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"terkelg"}},"created_at":"2018-02-19T03:15:01.000Z","updated_at":"2025-03-12T13:20:35.000Z","dependencies_parsed_at":"2022-08-07T14:30:21.354Z","dependency_job_id":null,"html_url":"https://github.com/terkelg/eliminate","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/terkelg/eliminate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terkelg%2Feliminate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terkelg%2Feliminate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terkelg%2Feliminate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terkelg%2Feliminate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terkelg","download_url":"https://codeload.github.com/terkelg/eliminate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terkelg%2Feliminate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267617479,"owners_count":24116193,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["delete","elimination","io","remove","rm","rmdir"],"created_at":"2024-08-03T01:02:45.802Z","updated_at":"2025-07-29T12:32:33.295Z","avatar_url":"https://github.com/terkelg.png","language":"JavaScript","funding_links":["https://github.com/sponsors/terkelg"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/terkelg/eliminate/raw/master/eliminate.png\" alt=\"eliminate\" width=\"500\" /\u003e\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003eeliminate\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://npmjs.org/package/eliminate\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/eliminate.svg\" alt=\"version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/terkelg/eliminate\"\u003e\n    \u003cimg src=\"https://img.shields.io/travis/terkelg/eliminate.svg\" alt=\"travis\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://npmjs.org/package/eliminate\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/eliminate.svg\" alt=\"downloads\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003eDelete files and directories without all the bullshit.\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\n## Installation\n\n```\nnpm install eliminate --save\n```\n\n\u003e **OBS**: This package uses async/await and requires Node.js 7.6\n\n\n## Usage\n\n```js\nconst del = require('eliminate');\n\n// ...\n\nawait del('path/or/file/to/delete.js');\n```\n\n## API\n\n\n### eliminate(path)\n\nType: `Promise`\n\nDeletes the directory or file.\nIf the filepath is a non-empty directory, everything in it will be deleted recursively.\n\n#### path\n\nType: `String`\n\nThe file or directory path to delete.\n\n\n## CLI\n\n```\n$ npm install --global eliminate\n```\n\n```\n$ eliminate path/to/file.js\n\n$ eliminate path/to/dir\n```\n\n\n## License\n\nMIT © [Terkel Gjervig](https://terkel.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterkelg%2Feliminate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterkelg%2Feliminate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterkelg%2Feliminate/lists"}