17 lines
659 B
TypeScript
17 lines
659 B
TypeScript
// Node native modules
|
|
import * as path from 'path';
|
|
import * as child_process from 'child_process';
|
|
import { createRequire } from 'module';
|
|
export { path, child_process };
|
|
|
|
// @push.rocks scope
|
|
import * as smartfs from '@push.rocks/smartfs';
|
|
import * as smartpath from '@push.rocks/smartpath';
|
|
import * as smartpromise from '@push.rocks/smartpromise';
|
|
export { smartfs, smartpath, smartpromise };
|
|
|
|
// ffmpeg static binaries - use createRequire for CommonJS compatibility
|
|
const require = createRequire(import.meta.url);
|
|
export const ffmpegBinaryPath: string = require('ffmpeg-static');
|
|
export const ffprobeBinaryPath: string = require('ffprobe-static').path;
|