create-dmg 
Create a DMG from an app (macOS)
This tool is intentionally opinionated and simple. I'm not interested in adding lots of options.
Install
$ npm install --global create-dmg
Usage
$ create-dmg --help
Usage
$ create-dmg <app>
Example
$ create-dmg 'Lungo.app'
DMG
The created DMG is code signed, requires macOS 10.11 or later, and has the filename ${appName} ${appVersion}.dmg, for example Lungo 1.0.0.dmg.
License
MIT © Sindre Sorhus

