Files
zen/bindings/nodejs/main.ts
T
2025-09-09 17:04:16 +02:00

11 lines
306 B
TypeScript

import { ZenEngine } from './index';
import fs from 'fs/promises';
import path from 'path';
const testDataRoot = path.join(__dirname, '../../', 'test-data');
const loader = async (key: string) => fs.readFile(path.join(testDataRoot, key));
const engine = new ZenEngine({ loader });
console.log('hello');