peterdee / ffprobe-static-electron-esm

ffprobe static binaries for Mac, Linux and Windows (adapted for ESM)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ffprobe-static-electron-esm

The module returns a file path to the installed ffprobe binary for the target operating system.

It is a modified version from the original ffprobe-static to use electron-builder file macros in package.json, where OS name are maclinux or win

In ffprobe-static, recognising the target OS is done with os.platform() where mac os x is recognised asdarwin rather then mac.

There is also ffmpeg-static-electron-esm

Install

npm i github:peterdee/ffprobe-static-electron-esm

Usage

import ffprobePath from 'ffprobe-static-electron-esm';
console.log(ffprobePath);

Testing

npm run test

License

MIT

About

ffprobe static binaries for Mac, Linux and Windows (adapted for ESM)

License:MIT License


Languages

Language:JavaScript 100.0%