import { writeFile as FSWriteFile , readFile as FSReadFile } from 'fs' ; import { promisify } from 'util' ; export const readFile = promisify ( FSReadFile ) ; export const writeFile = promisify ( FSWriteFile ) ;