UNPKG

igir

Version:

🕹 A zero-setup ROM collection manager that sorts, filters, extracts or archives, patches, and reports on collections of any size on any OS.

10 lines (9 loc) • 387 B
import path from 'node:path'; import { fileURLToPath } from 'node:url'; // @ts-expect-error @types/node-gyp-build doesn't exist import nodeGypBuild from 'node-gyp-build'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); // eslint-disable-next-line @typescript-eslint/no-unsafe-call const zstd = nodeGypBuild(__dirname); export default zstd;