UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

6 lines (4 loc) 216 B
import {resolve} from "path"; const cppModulePath = resolve(process.argv[2]); const cppModule = await import(`file:///${cppModulePath}`); process.stdout.write(Object.keys(cppModule["exportedFunctions"]).join(";"));