mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
9 lines
164 B
TypeScript
9 lines
164 B
TypeScript
|
import fs from 'fs';
|
||
|
import path from 'path';
|
||
|
|
||
|
function readFile(filePath) {
|
||
|
return fs.readFileSync(path.join(__dirname, `/${filePath}`));
|
||
|
}
|
||
|
|
||
|
export { readFile }
|