{"id":16327056,"url":"https://github.com/mrmlnc/imdisk-wrapper","last_synced_at":"2025-10-25T20:32:19.338Z","repository":{"id":57272459,"uuid":"44048294","full_name":"mrmlnc/imdisk-wrapper","owner":"mrmlnc","description":":package: ImDisk wrapper to create and delete virtual disks.","archived":false,"fork":false,"pushed_at":"2017-05-04T17:26:44.000Z","size":8,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T10:35:24.025Z","etag":null,"topics":[],"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/mrmlnc.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":"2015-10-11T10:44:17.000Z","updated_at":"2021-04-16T03:23:21.000Z","dependencies_parsed_at":"2022-09-03T09:23:15.891Z","dependency_job_id":null,"html_url":"https://github.com/mrmlnc/imdisk-wrapper","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fimdisk-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fimdisk-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fimdisk-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fimdisk-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmlnc","download_url":"https://codeload.github.com/mrmlnc/imdisk-wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238207660,"owners_count":19434095,"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-10-10T23:10:17.784Z","updated_at":"2025-10-25T20:32:14.088Z","avatar_url":"https://github.com/mrmlnc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imdisk-wrapper\n\n\u003e A simple wrapper for ImDisk to create (only VM) and delete virtual disks.\n\n[![AppVeyor](https://ci.appveyor.com/api/projects/status/b707ardgrdf0lwa3?svg=true)](https://ci.appveyor.com/project/mrmlnc/imdisk-wrapper)\n[![NPM version](https://img.shields.io/npm/v/imdisk-wrapper.svg?style=flat-square)](https://www.npmjs.com/package/imdisk-wrapper)\n[![devDependency Status](https://img.shields.io/david/mrmlnc/imdisk-wrapper.svg?style=flat-square)](https://david-dm.org/mrmlnc/imdisk-wrapper#info=dependencies)\n[![devDependency Status](https://img.shields.io/david/dev/mrmlnc/imdisk-wrapper.svg?style=flat-square)](https://david-dm.org/mrmlnc/imdisk-wrapper#info=devDependencies)\n\n## Install\n\n```shell\n$ npm i -S imdisk-wrapper\n```\n\n## Usage\n\n### create(label, size, [options])\n\n```js\nimDisk.create('Z', '32M').then((res) =\u003e {\n  console.log(res); // { label: 'Z', size: '32M' }\n}).catch((err) =\u003e {\n  console.log(err);\n});\n```\n\n**arguments:**\n\n  * `label` [`string` | default: random available letter] - Available drive letter is determined by [windows-drive-letters](https://github.com/mrmlnc/windows-drive-letters).\n  * `size` [`string` | default: `null`] - The size of the disk in the format `number[b, k, m, g, t, K, M, G, T]`.\n\n**options:**\n\n  * `imdiskPath` [`string` | default: `imdisk`] - A path to ImDisk.\n  * `fileSystem` [`string` | default: `ntfs`] - Disk file system.\n  * `command` [`string` | default: `null`] - Custom command that replaces the command of creating disk in this module.\n\n### remove(label, [options])\n\n```js\nimDisk.create('Z').then((res) =\u003e {\n  console.log(res); // { label: 'Z' }\n}).catch((err) =\u003e {\n  console.log(err);\n});\n```\n\n**arguments:**\n  \n  * `label` [`string` | default: `null`] - The drive letter to remove.\n\n**options:**\n\n  * `imdiskPath` [`string` | default: `imdisk`] - A path to ImDisk.\n  * `force` [`boolean` | default: `false`] -  Use `true` to force removal even if the device is in use.\n  * `command` [`string` | default: `null`] - Custom command that replaces the command of removing disk in this module.\n\n## Changelog\n\nSee the [Releases section of our GitHub project](https://github.com/mrmlnc/imdisk-wrapper/releases) for changelogs for each release version.\n\n## License\n\nThis software is released under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fimdisk-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmlnc%2Fimdisk-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fimdisk-wrapper/lists"}