import Fs from 'fs' ; import { promisify } from 'util' ; export const readFile = promisify ( Fs . readFile ) ; export const writeFile = promisify ( Fs . writeFile ) ; export const mkdir = promisify ( Fs . mkdir ) ; export const exists = promisify ( Fs . exists ) ;