UNPKG

@krp-races/krp-sharedmemory-client

Version:

A node.js wrapper for shared memory plugin in kart racing pro.

8 lines (5 loc) 516 B
var Module = require('module'); var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null; const require$1 = Module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('binding.js', document.baseURI).href))); const addon = require$1('../build/Release/krp-sharedmemory-lib.node'); exports.addon = addon;