c0289b6a8c
- indonesian localization by @LyfeV - rewrote readme - added new line at the end for files that were missing it
10 lines
173 B
JavaScript
10 lines
173 B
JavaScript
import * as fs from "fs";
|
|
|
|
export default function(path) {
|
|
try {
|
|
return JSON.parse(fs.readFileSync(path, 'utf-8'))
|
|
} catch(e) {
|
|
return false
|
|
}
|
|
}
|