@runejs/filestore
Version:
Tools for managing the RuneJS filestore.
9 lines (8 loc) • 404 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const filestore_1 = require("./filestore");
const common_1 = require("@runejs/common");
const fileStore = new filestore_1.Filestore('./packed', { configDir: './config' });
const region = fileStore.regionStore.getLandscapeFile(50, 44);
common_1.logger.info(JSON.stringify(region, null, 2));
fileStore.widgetStore.writeToDisk();