write-file-p

Create the directory structure and then create the file.

Browse on unpkg