npm.io
1.3.7 • Published 2 months agoCLI

@ferocia-oss/osnap

Licence
MIT
Version
1.3.7
Deps
4
Size
24 kB
Vulns
0
Weekly
0

osnap

A CLI for grabbing iOS/Android screenshots and saving to your clipboard or filesystem.

Demo

Usage

osnap [ios|android] [-f filename.png] [-d device_id]

With iOS

osnap ios
osnap ios -f sweet.png

With Android

osnap android
osnap android -f cool.png
osnap android -f omg.png -d emulator-5554

Installing

npm i -g osnap

Requirements

  • MacOS 26.6
  • Node 22 and up
  • Either Android or Xcode toolchains

These are the currently tested versions. This may work in older versions.

Inspired By

License

MIT

Change Log

See the Releases section.

Keywords