Socket
Book a DemoInstallSign in
Socket

mount-dmg

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mount-dmg

Mount a .dmg file in macOS

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 10 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts