static-fs
Version:
A static filesystem to bundle files and read them using NodeJS
12 lines (10 loc) • 367 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isWindows = exports.INT_SIZE = void 0;
// size of integers in file. (node uses 6-byte integers in buffer.)
const INT_SIZE = 6; // holds if we are running under windows os
exports.INT_SIZE = INT_SIZE;
const isWindows = process.platform === 'win32';
exports.isWindows = isWindows;
;