UNPKG

@communities-webruntime/services

Version:

If you would like to run Lightning Web Runtime without the CLI, we expose some of our programmatic APIs available in Node.js. If you're looking for the CLI documentation [you can find that here](https://www.npmjs.com/package/@communities-webruntime/cli).

25 lines 858 B
/** @hidden */ /** * Copyright (c) 2019, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: MIT * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT */ /** * Reads a JSON file synchronously, caching it for * the current value of the `versionKey`. * * @param {*} path The path of the file to read. * @returns The file content as a JSON object */ export declare function readJsonFile(path: any): any; /** * Reads a folder's content synchronously, caching it for * the current value of the `versionKey`. * * @param {*} path The path of the folder to read. * @param {*} extension The extension of the files to read. * @returns Map of the file name and the file content */ export declare function readFolder(path: any, extension: any): any; //# sourceMappingURL=files.d.ts.map