cursor having a crack at a wrapper module

This commit is contained in:
Nick Payne
2025-07-01 13:32:55 +01:00
parent fcbf9b0097
commit 7e7f6d34ca
13 changed files with 1774 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
const path = require("path");
const binary = require("node-pre-gyp");
// Get the path to the downloaded binary
const bindingPath = binary.find(
path.resolve(path.join(__dirname, "package.json"))
);
const binaryPath = path.join(path.dirname(bindingPath), "audiotee");
const AudioTeeStream = require("./lib/AudioTeeStream");
module.exports = {
AudioTeeStream,
getBinaryPath: () => binaryPath,
};