face-api.js
Version:
JavaScript API for face detection and face recognition in the browser with tensorflow.js
12 lines • 454 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
function isNodejs() {
return typeof global === 'object'
&& typeof require === 'function'
&& typeof module !== 'undefined'
// issues with gatsby.js: module.exports is undefined
// && !!module.exports
&& typeof process !== 'undefined' && !!process.version;
}
exports.isNodejs = isNodejs;
//# sourceMappingURL=isNodejs.js.map
;