{"id":21399874,"url":"https://github.com/balena-io-modules/win-drive-clean","last_synced_at":"2025-09-10T22:33:40.293Z","repository":{"id":74151201,"uuid":"119749447","full_name":"balena-io-modules/win-drive-clean","owner":"balena-io-modules","description":"Remove a disks partition table on Windows","archived":false,"fork":false,"pushed_at":"2018-04-17T21:12:13.000Z","size":31,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-15T01:58:27.015Z","etag":null,"topics":["partition-table","windows"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/balena-io-modules.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-01-31T22:03:35.000Z","updated_at":"2023-09-10T18:17:45.000Z","dependencies_parsed_at":"2023-07-26T00:45:18.668Z","dependency_job_id":null,"html_url":"https://github.com/balena-io-modules/win-drive-clean","commit_stats":null,"previous_names":["resin-io-modules/win-drive-clean"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balena-io-modules%2Fwin-drive-clean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balena-io-modules%2Fwin-drive-clean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balena-io-modules%2Fwin-drive-clean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balena-io-modules%2Fwin-drive-clean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balena-io-modules","download_url":"https://codeload.github.com/balena-io-modules/win-drive-clean/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243751919,"owners_count":20342318,"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":["partition-table","windows"],"created_at":"2024-11-22T15:17:08.086Z","updated_at":"2025-03-16T15:49:12.593Z","avatar_url":"https://github.com/balena-io-modules.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# win-drive-clean\n[![npm](https://img.shields.io/npm/v/win-drive-clean.svg?style=flat-square)](https://npmjs.com/package/win-drive-clean)\n[![npm license](https://img.shields.io/npm/l/win-drive-clean.svg?style=flat-square)](https://npmjs.com/package/win-drive-clean)\n[![npm downloads](https://img.shields.io/npm/dm/win-drive-clean.svg?style=flat-square)](https://npmjs.com/package/win-drive-clean)\n[![Travis CI status](https://img.shields.io/travis/resin-io-modules/win-drive-clean/master.svg?style=flat-square\u0026label=linux)](https://travis-ci.org/resin-io-modules/win-drive-clean/branches)\n[![AppVeyor status](https://img.shields.io/appveyor/ci/resin-io/win-drive-clean/master.svg?style=flat-square\u0026label=windows)](https://ci.appveyor.com/project/resin-io/win-drive-clean/branch/master)\n[![Dependency status](https://img.shields.io/david/resin-io-modules/win-drive-clean.svg?style=flat-square)](https://david-dm.org/resin-io-modules/win-drive-clean)\n[![Gitter Chat](https://img.shields.io/gitter/room/resin-io/etcher.svg?style=flat-square)](https://gitter.im/resin-io/etcher)\n\nRemove a disks partition table on Windows\n\n## Install via [npm](https://npmjs.com)\n\n```sh\n$ npm install --save win-drive-clean\n```\n\n## Usage\n\n```js\nconst driveClean = require('win-drive-clean')\n```\n\n**NOTE:** As this is Windows only, calling `driveClean()` on other platforms will be a NOOP and always succeed.\n\n```js\ndriveClean('\\\\\\\\.\\\\PhysicalDrive5', (error) =\u003e {\n  // ...\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalena-io-modules%2Fwin-drive-clean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalena-io-modules%2Fwin-drive-clean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalena-io-modules%2Fwin-drive-clean/lists"}