npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

mount-dmg

1.0.1

@juliangruber

npmHomeRepoSnykSocket
Downloads:8606
$ npm install mount-dmg
DailyWeeklyMonthlyYearly

mount-dmg

Mount a .dmg file in macOS.

Example

const mount = require('mount-dmg')

const { diskPath, volumePath, unmount } = await mount('./app.dmg')

console.log({ diskPath, volumePath })
// { diskPath: '/dev/disk3s3', volumePath: '/Volumes/Nightly' }

await unmount()

Installation

$ npm install mount-dmg

API

mount(path) => { diskPath, volumePath, unmount }

License

MIT