PDFWorker.fromPort
PDFWorker.create
This allows us to simply invoke `PDFWorker.create` unconditionally from the `getDocument` function, without having to manually check if a global `workerPort` is available first.
import/no-commonjs
unicorn/prefer-import-meta-properties
no-array-reduce
test
getAll
rimraf
fs.rmSync
rgb