Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

castro

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

castro

Automated screen recording

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Castro

Screen recording library for Node

Awesome features!

  • Uses the AV Foundation framework to record the highest-quality video you possibly could record.

  • Records in the popular MPEG-4 file format.

  • Simple API. Start and stop -- that's all you need to know!

  • Testing friendly. Combine with app automation tools like Appium or Selenium to record movies of your tests. Screen recordings can be useful for debugging test failures.

  • Open source. (MIT License)

Install

npm install castro

Example usage

castro = require('castro')
movie = new castro.Castro()
movie.start()
// Do something awesome
movie.stop()

Where's my movie?

Movies are stored on the Desktop...

> movie.location
'/Users/hugs/Desktop/Castro_5wmi.mp4'

In other words:
'<home>/Desktop/Castro_<short_random_string>.mp4'

... but you can change the location before you start recording.

> movie = new castro.Castro()
> movie.setLocation('/Users/me/epic-movies/totes-epic.mp4')
> movie.start()

Requirements

Castro was tested with:

$ node -v
v4.5.0

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.11.6
BuildVersion:	15G1004

Only works on OS X for now.

Example movies recorded with Castro

Castro

Keywords

FAQs

Package last updated on 23 Sep 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc