{"_id":"@0biwank/screen-capture","_rev":"11-df79dbe847f6b9a7d7a2a4a12c4345fb","name":"@0biwank/screen-capture","dist-tags":{"latest":"2.0.5"},"versions":{"1.0.1":{"name":"@0biwank/screen-capture","version":"1.0.1","keywords":["screen-capture","desktop-capture","native-addon","napi","video-encoding","hls"],"author":{"name":"Kunal Dubey"},"license":"MIT","_id":"@0biwank/screen-capture@1.0.1","maintainers":[{"name":"0biwank","email":"kunaldubeyseven@gmail.com"}],"homepage":"https://github.com/xakep8/screenCaptureNAPI#readme","bugs":{"url":"https://github.com/xakep8/screenCaptureNAPI/issues"},"os":["darwin"],"dist":{"shasum":"0ce13c21602005b8fbfebf0bdccb54a34199b658","tarball":"https://registry.npmjs.org/@0biwank/screen-capture/-/screen-capture-1.0.1.tgz","fileCount":5,"integrity":"sha512-6PtbhPLrUOB0PaxcqCWxFwfE4gxsVlCmDOUAoA5KPDP3wB5+IuVRxZjcGwBoTqN+SiNawEuiVCyv5TI0RiYXOA==","signatures":[{"sig":"MEYCIQCxCNgk/JEBN25AiN6iIN60+NbHWkz3s9ImeCimn1etxQIhANvsRj4ynFsLk+pYe9FPcWt19Y0pLGy51EBOrcsCrLTG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125295},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"75e86258bd2b7ab14034078dd6d2289d98579f12","gypfile":true,"scripts":{"test":"node test.js","build":"node-gyp configure build","install":"node-gyp rebuild","rebuild":"node-gyp rebuild"},"_npmUser":{"name":"0biwank","email":"kunaldubeyseven@gmail.com"},"repository":{"url":"git+https://github.com/xakep8/screenCaptureNAPI.git","type":"git"},"_npmVersion":"10.9.2","description":"Native screen capture addon for Node.js with HLS muxing support","directories":{},"_nodeVersion":"23.9.0","dependencies":{"node-addon-api":"^8.5.0"},"_hasShrinkwrap":false,"devDependencies":{"node-gyp":"^11.4.2"},"_npmOperationalInternal":{"tmp":"tmp/screen-capture_1.0.1_1759921400376_0.5420877765461947","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@0biwank/screen-capture","version":"2.0.2","keywords":["screen-capture","desktop-capture","native-addon","napi","macos","mpegts"],"author":{"name":"Kunal Dubey"},"license":"GPL-2.0-or-later","_id":"@0biwank/screen-capture@2.0.2","maintainers":[{"name":"0biwan-ops","email":"kunaldubeyseven@gmail.com"}],"homepage":"https://github.com/xakep8/screenCaptureNAPI#readme","bugs":{"url":"https://github.com/xakep8/screenCaptureNAPI/issues"},"dist":{"shasum":"fdb673420899328b1ee0cef1560fcdf846b9d6e8","tarball":"https://registry.npmjs.org/@0biwank/screen-capture/-/screen-capture-2.0.2.tgz","fileCount":14,"integrity":"sha512-r0SR47grPVAMbqse/KYmiI6iR79Hru8LJKZSinf5PBKQ0cCZaEVMUZRw/og0Youu2cq2zfMBE/0rpU8dLihsqg==","signatures":[{"sig":"MEUCIAbcaGUWCMh2HbnAF1yLMwkiZ/jHlJaaNz2P4ZZGT7zLAiEAzaro9RYXkGGiMnr96H7rHY4hCxJ8L9hE61swQho5gbQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42745393},"main":"index.js","types":"./index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"9413112ef3ddc9c656feadf92fcea6641bb5ddf7","gypfile":false,"scripts":{"test":"node test.js","build":"node scripts/build.mjs","rebuild":"node-gyp rebuild","build:addon":"node-gyp configure build","build:vendor":"node scripts/build-ffmpeg-vendor.mjs","stage:prebuild":"node scripts/stage-prebuild.mjs","verify:package":"node scripts/verify-package.mjs","verify:runtime":"node scripts/verify-runtime.cjs","verify:packlist":"node scripts/verify-packlist.mjs"},"_npmUser":{"name":"0biwan-ops","email":"kunaldubeyseven@gmail.com"},"repository":{"url":"git+https://github.com/xakep8/screenCaptureNAPI.git","type":"git"},"_npmVersion":"11.17.0","description":"Native screen + audio capture for macOS with file-backed HLS output.","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"node-gyp":"^11.4.2","node-addon-api":"^8.5.0"},"_npmOperationalInternal":{"tmp":"tmp/screen-capture_2.0.2_1782113518393_0.46599178805333463","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@0biwank/screen-capture","version":"2.0.3","keywords":["screen-capture","desktop-capture","native-addon","napi","macos","mpegts"],"author":{"name":"Kunal Dubey"},"license":"GPL-2.0-or-later","_id":"@0biwank/screen-capture@2.0.3","maintainers":[{"name":"0biwan-ops","email":"kunaldubeyseven@gmail.com"}],"homepage":"https://github.com/xakep8/screenCaptureNAPI#readme","bugs":{"url":"https://github.com/xakep8/screenCaptureNAPI/issues"},"dist":{"shasum":"8ddaa29bba8a08a5fc143650339d4d3d7f8b1b83","tarball":"https://registry.npmjs.org/@0biwank/screen-capture/-/screen-capture-2.0.3.tgz","fileCount":14,"integrity":"sha512-AxemJSoAd6sINoH8eT7vBuPkonuGFsEcffea0pboIH1hXxrVivzQdCXhTgCDSF5bHdZQPUHXAN+9z7N4ER1VcA==","signatures":[{"sig":"MEQCIA+OeWnrHlkZAPt+Ba7pHCAAixfKumr5oyhP1R+rkDciAiA/bbGIVKgV9NXw0rHR+jqPzxtLn/0WTa4yCMKf1ziLqA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42770545},"main":"index.js","types":"./index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"a36549c602ef613b88c538ec988da617a7a1b602","gypfile":false,"scripts":{"test":"node test.js","build":"node scripts/build.mjs","rebuild":"node-gyp rebuild","build:addon":"node-gyp configure build","build:vendor":"node scripts/build-ffmpeg-vendor.mjs","stage:prebuild":"node scripts/stage-prebuild.mjs","verify:package":"node scripts/verify-package.mjs","verify:runtime":"node scripts/verify-runtime.cjs","verify:packlist":"node scripts/verify-packlist.mjs"},"_npmUser":{"name":"0biwan-ops","email":"kunaldubeyseven@gmail.com"},"repository":{"url":"git+https://github.com/xakep8/screenCaptureNAPI.git","type":"git"},"_npmVersion":"11.17.0","description":"Native screen + audio capture for macOS with file-backed HLS output.","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"node-gyp":"^11.4.2","node-addon-api":"^8.5.0"},"_npmOperationalInternal":{"tmp":"tmp/screen-capture_2.0.3_1782715172994_0.6092528089670266","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@0biwank/screen-capture","version":"2.0.4","keywords":["screen-capture","desktop-capture","native-addon","napi","macos","mpegts"],"author":{"name":"Kunal Dubey"},"license":"GPL-2.0-or-later","_id":"@0biwank/screen-capture@2.0.4","maintainers":[{"name":"0biwan-ops","email":"kunaldubeyseven@gmail.com"}],"homepage":"https://github.com/xakep8/screenCaptureNAPI#readme","bugs":{"url":"https://github.com/xakep8/screenCaptureNAPI/issues"},"dist":{"shasum":"a20a6b8dc6d37492f32960e1a9c660dff3216402","tarball":"https://registry.npmjs.org/@0biwank/screen-capture/-/screen-capture-2.0.4.tgz","fileCount":14,"integrity":"sha512-2YuQSPsVutLrX/Q91hQC7lOpAoj8dolFkpu0SjzmXCDGnDoOFXCzFNnQfPNylxO4fdv9zbUtjpim6UIDmcRiYw==","signatures":[{"sig":"MEUCIQCLfhm4CrSz7WnULpNovFgboWJnlpfCWq82L2RY46uIxQIgdd2qOucJvrl36H5NExQKLAqV+kuh9bbfLLgCoZJzb24=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42775465},"main":"index.js","types":"./index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"f753a744b91a239264466d34626d20506619420b","gypfile":false,"scripts":{"test":"node test.js","build":"node scripts/build.mjs","rebuild":"node-gyp rebuild","build:addon":"node-gyp configure build","build:vendor":"node scripts/build-ffmpeg-vendor.mjs","stage:prebuild":"node scripts/stage-prebuild.mjs","verify:package":"node scripts/verify-package.mjs","verify:runtime":"node scripts/verify-runtime.cjs","verify:packlist":"node scripts/verify-packlist.mjs"},"_npmUser":{"name":"0biwan-ops","email":"kunaldubeyseven@gmail.com"},"repository":{"url":"git+https://github.com/xakep8/screenCaptureNAPI.git","type":"git"},"_npmVersion":"11.18.0","description":"Native screen + audio capture for macOS with file-backed HLS output.","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"node-gyp":"^11.4.2","node-addon-api":"^8.5.0"},"_npmOperationalInternal":{"tmp":"tmp/screen-capture_2.0.4_1783007443516_0.5829458938348704","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"@0biwank/screen-capture","version":"2.0.5","description":"Native screen + audio capture for macOS with file-backed HLS output.","main":"index.js","gypfile":false,"scripts":{"build":"node scripts/build.mjs","build:vendor":"node scripts/build-ffmpeg-vendor.mjs","build:addon":"node-gyp configure build","rebuild":"node-gyp rebuild","stage:prebuild":"node scripts/stage-prebuild.mjs","verify:runtime":"node scripts/verify-runtime.cjs","verify:package":"node scripts/verify-package.mjs","verify:packlist":"node scripts/verify-packlist.mjs","test":"node test.js"},"keywords":["screen-capture","desktop-capture","native-addon","napi","macos","mpegts"],"author":{"name":"Kunal Dubey"},"license":"GPL-2.0-or-later","repository":{"type":"git","url":"git+https://github.com/xakep8/screenCaptureNAPI.git"},"homepage":"https://github.com/xakep8/screenCaptureNAPI#readme","bugs":{"url":"https://github.com/xakep8/screenCaptureNAPI/issues"},"publishConfig":{"access":"public"},"devDependencies":{"node-addon-api":"^8.5.0","node-gyp":"^11.4.2"},"engines":{"node":">=18.0.0"},"gitHead":"4d2f149f527856af6bbc5488de1132a07d3df1c6","types":"./index.d.ts","_id":"@0biwank/screen-capture@2.0.5","_nodeVersion":"22.14.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-GXDHQxOoI46c9JmY5DDzCXPXJ5kpvdyQqvrHLfjTAIN41GtaDibzxY02MqHKjh7Ra+aM8KcGBQT3mv43S7ox5Q==","shasum":"6998088aecadbd1f12db02f9e379eeaccc637ee4","tarball":"https://registry.npmjs.org/@0biwank/screen-capture/-/screen-capture-2.0.5.tgz","fileCount":14,"unpackedSize":43044169,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH3Ua2ImgkV1u11wiCC8nyoOsEQgwBRImZm3FOa80ktxAiAX9wQjjvYcjIZj/bLeiySi7MbHDScNvBo6R2DdFq2bJg=="}]},"_npmUser":{"name":"0biwan-ops","email":"kunaldubeyseven@gmail.com"},"directories":{},"maintainers":[{"name":"0biwan-ops","email":"kunaldubeyseven@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/screen-capture_2.0.5_1783322589014_0.8271490339232244"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-08T11:03:20.243Z","modified":"2026-07-06T07:23:09.559Z","1.0.0":"2025-10-08T07:25:36.318Z","1.0.1":"2025-10-08T11:03:20.569Z","2.0.1":"2026-06-22T06:55:43.774Z","2.0.2":"2026-06-22T07:31:58.782Z","2.0.3":"2026-06-29T06:39:33.369Z","2.0.4":"2026-07-02T15:50:43.930Z","2.0.5":"2026-07-06T07:23:09.435Z"},"bugs":{"url":"https://github.com/xakep8/screenCaptureNAPI/issues"},"author":{"name":"Kunal Dubey"},"license":"GPL-2.0-or-later","homepage":"https://github.com/xakep8/screenCaptureNAPI#readme","keywords":["screen-capture","desktop-capture","native-addon","napi","macos","mpegts"],"repository":{"type":"git","url":"git+https://github.com/xakep8/screenCaptureNAPI.git"},"description":"Native screen + audio capture for macOS with file-backed HLS output.","maintainers":[{"name":"0biwan-ops","email":"kunaldubeyseven@gmail.com"}],"readme":"# @0biwank/screen-capture\n\nNative macOS screen, window, camera, microphone, and system-audio capture with\nfile-backed HLS output.\n\n## Requirements\n\n- macOS 14 or newer\n- Apple silicon (`arm64`) or Intel (`x64`)\n- Node.js 18 or newer, including N-API-compatible Electron releases\n\nThe npm package includes prebuilt binaries for both supported architectures and\ndoes not compile native code during installation.\n\n## Installation\n\n```bash\nnpm install @0biwank/screen-capture\n```\n\n## Usage\n\n```js\nconst capture = require('@0biwank/screen-capture');\n\nconst display = capture.listDisplaySources()[0];\nconst recordingId = `capture-${Date.now()}`;\n\ncapture.setSegmentReadyCallback(fullPath => {\n  console.log('HLS segment ready:', fullPath);\n});\n\nconst started = capture.startCapture({\n  displayId: display.id,\n  width: display.width,\n  height: display.height,\n  fps: 30,\n  gopSize: 120,\n  videoBitrate: 9_000_000,\n  systemAudio: true,\n  microphone: false,\n  outputDir: '/tmp/native-capture',\n  recordingId,\n  segmentTime: 4,\n});\n\nif (!started) throw new Error(capture.getLastError());\n```\n\nCall `stopCapture()` to flush the final segment and close `playlist.m3u8`.\nPause and resume are available through `pauseCapture()` and `resumeCapture()`.\nSee `index.d.ts` for the complete API and option types.\n\n## Building From Source\n\nRelease binaries are built by `.github/workflows/publish.yml`. Local builds use:\n\n```bash\nnpm ci --ignore-scripts\nbrew install nasm pkg-config\nNATIVE_CAPTURE_ARCH=arm64 npm run build\n# or NATIVE_CAPTURE_ARCH=x64 npm run build\n```\n\nSee [SOURCE.md](SOURCE.md) for pinned upstream sources, checksums, and build\ndetails.\n\n## License\n\nThe distributed binary links FFmpeg configured with GPL support and x264. The\npackage is distributed under GPL-2.0-or-later. See [LICENSE](LICENSE) and\n[THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md). Distribution in another\napplication should be reviewed for license compliance.\n","readmeFilename":"README.md"}