README
snapterm
📷 Take screenshots of your terminal
Usage
$ yarn add snapterm
const snapterm = require("snapterm");
if (somethingHappened()) {
snapterm("screenshot-of-something");
// => ~/Desktop/screenshot-of-something.png
}
CLI
$ yarn global add snapterm
$ snapterm oh-no
Caveats
snapterm only works on macOS with iTerm2.app and Terminal.app. Does not work with Hyper.