17 lines
410 B
TypeScript
17 lines
410 B
TypeScript
import * as core from "io-core";
|
|
|
|
/**
|
|
* Load the specified file into memory.
|
|
*
|
|
* @param path The path of the file to load.
|
|
* @returns The contents of the file.
|
|
*/
|
|
export const load = core.load;
|
|
|
|
/**
|
|
* Load the specified file into memory as a string.
|
|
*
|
|
* @param path The path of the file to load.
|
|
* @returns The contents of the file decoded from utf-8.
|
|
*/
|
|
export const load_string = core.load_string;
|