magica
Version:
ImageMagick for browser and Node.js, easy setup, high level API and Command Line Interface, including WASM binary for an easy setup.
26 lines • 642 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
let options = {
nodeFsLocalRoot: 'working_tmp',
emscriptenNodeFsRoot: '/w2',
debug: false,
outputDir: '.',
disableNodeFs: false,
useNative: false,
mainConcurrency: 3,
mainInterval: 0,
customCommandPrefix: '!js:'
};
function getOptions() {
return options;
}
exports.getOptions = getOptions;
function getOption(k) {
return options[k];
}
exports.getOption = getOption;
function setOptions(o) {
options = Object.assign(Object.assign({}, options), o);
}
exports.setOptions = setOptions;
//# sourceMappingURL=options.js.map