
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
capturekit
Advanced tools
Record the screen on macOS with ScreenCaptureKit.
npm install capturekit
Requires macOS 12.0 or later.
import {setTimeout} from 'node:timers/promises';
import { recorder } from 'capturekit';
const options = {
fps: 30,
cropArea: {
x: 100,
y: 100,
width: 500,
height: 500,
},
};
await recorder.startRecording(options);
await setTimeout(3000);
console.log(await recorder.stopRecording());
//=> '/private/var/folders/3x/jf5977fn79jbglr7rk0tq4d00000gn/T/cdf4f7df426c97880f8c10a1600879f7.mov'
Promise<Object[]>Get a list of screens. The first screen is the primary screen.
Example:
[
{
id: 69732482,
name: 'Color LCD',
},
];
Promise<Object[]>Get a list of audio devices.
Example:
[
{
id: 'AppleHDAEngineInput:1B,0,1,0:1',
name: 'Built-in Microphone',
},
];
Returns a Promise that fullfills when the recording starts or rejects if the recording didn't start after 5 seconds.
Returns a Promise for the path to the screen recording file.
Type: object
Type: number
Default: 30
Number of frames per seconds.
Type: object
Default: undefined
Record only an area of the screen. Accepts an object with x, y, width, height properties.
Type: boolean
Default: true
Show the cursor in the screen recording.
Type: number
Default: capture.screens()[0] (Primary screen)
Screen to record.
providing a JavaScript interface to the best available method for recording the screen using ScreenCaptureKit.
FAQs
Record the screen on macOS with ScreenCaptureKit
The npm package capturekit receives a total of 252 weekly downloads. As such, capturekit popularity was classified as not popular.
We found that capturekit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.