$ npm install kap
Quick way to capture a screenshot to the current directory (macOS only)
$ npm install --global kap
$ kap
MIT © Sindre Sorhus