warcraft-recorder-obs-engine
v0.0.10
Published
A native Node.js addon with libobs bindings for Warcraft Recorder.
Readme
Warcraft Recorder Engine
A native Node.js addon for Warcraft gameplay recording built with N-API.
Installation
npm install warcraft-recorder-obs-engineUsage
const warcraftRecorder = require('warcraft-recorder-obs-engine');
// Get a greeting from the native addon
const message = warcraftRecorder.hello();
console.log(message); // "hello from napi"TypeScript
This package includes TypeScript definitions:
import * as warcraftRecorder from 'warcraft-recorder-obs-engine';
const message: string = warcraftRecorder.hello();
console.log(message);Requirements
- Node.js >= 14.0.0
- A C++ compiler (Visual Studio Build Tools on Windows, Xcode on macOS, GCC on Linux)
Building from Source
npm install
npm run buildAPI
hello(): string
Returns a greeting message from the native addon.
License
ISC
