Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 5 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | import fs from 'fs'; |
||
2 | |||
3 | export const readFile = (filePath) => { |
||
4 | return fs.readFileSync(filePath, 'utf-8'); |
||
5 | } |
||
6 |