Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Richienb/extract-dmg

Extract DMG Travis CI Build Status

Extract a DMG file on MacOS.

NPM Badge

Install

npm install extract-dmg

Usage

const extractDmg = require("extract-dmg");

(async () => {
	await extractDmg("a.dmg"); // Get contents
	//=> ["a", "b"]

	await extractDmg("a.dmg", "extractDir"); // Extract and get contents
	//=> ["a", "b"]
})()

API

extractDmg(filename, destination?)

filename

Type: string

The DMG to extract.

destination

Type: string

The destination directory to place the extracted files. Leave blank to skip extraction.

About

Extract a DMG file on MacOS.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published