24 lines
742 B
JavaScript
24 lines
742 B
JavaScript
"use strict";
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const crypto_1 = require("crypto");
|
|
const fs_1 = __importDefault(require("fs"));
|
|
const tty_1 = require("tty");
|
|
const path_1 = __importDefault(require("path"));
|
|
const bindings = {
|
|
hrtime: process.hrtime.bigint,
|
|
exit: (code) => {
|
|
process.exit(code);
|
|
},
|
|
kill: (signal) => {
|
|
process.kill(process.pid, signal);
|
|
},
|
|
randomFillSync: crypto_1.randomFillSync,
|
|
isTTY: tty_1.isatty,
|
|
fs: fs_1.default,
|
|
path: path_1.default,
|
|
};
|
|
exports.default = bindings;
|
|
//# sourceMappingURL=node.js.map
|