从Node.js在macOS上记录屏幕-Swift开发

时间:2021-05-27 05:30:37
【文件属性】:
文件名称:从Node.js在macOS上记录屏幕-Swift开发
文件大小:17KB
文件格式:ZIP
更新时间:2021-05-27 05:30:37
Swift Miscellaneous hole-node通过Node.js在macOS上记录屏幕。install $ npm install hole需要macOS 10.12或更高版本。 用法const delay = require('delay'); 常量光圈= require('aperture')(); hole-node通过Node.js在macOS上记录屏幕。install $ npm install hole需要macOS 10.12或更高版本。 用法const delay = require('delay'); 常量光圈= require('aperture')(); const options = {fps:30,cropArea:{x:100,y:100,width:500,height:500}}; (async()=> {await aperture.startRecording(options); await delay(3000); console.log(await aperture.stopRecording()); // =>'/ private / var / folders / 3x
【文件预览】:
aperture-node-main
----.swiftpm()
--------xcode()
----index.js(6KB)
----test.js(984B)
----package.json(793B)
----index.test-d.ts(565B)
----readme.md(5KB)
----.github()
--------workflows()
----license(1KB)
----Sources()
--------ApertureCLI()
----example.js(734B)
----Package.swift(632B)
----index.d.ts(3KB)
----.gitignore(90B)
----Package.resolved(605B)
----.npmrc(19B)
----.editorconfig(147B)
----.gitattributes(19B)

网友评论