mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
9 lines
172 B
TypeScript
9 lines
172 B
TypeScript
import * as fs from 'fs';
|
|
|
|
/**
|
|
* @param path
|
|
* @returns {string}
|
|
*/
|
|
export function readFileAsString (path: string): string {
|
|
return fs.readFileSync(path, 'utf8');
|
|
} |