v6.0.0
Breaking changes since v5.0.3
- Dropped support for Node.js < v12.17
New features
-
Added the
HandbrakeCLIPath
option to thespawn
,exec
andrun
methods. Use this to override the built-in path to the underlyingHandbrakeCLI
binary. See the docs in the README. #62hbjs.spawn({ input: 'something.avi', output: 'something.m4v', HandbrakeCLIPath: './somewhere/HandbrakeCLI' })
Other changes
- Codebase rewritten as ECMAScript Modules. This is a non-functional change - users can still load handbrake-js using either
import
orrequire
.