Closed vprasanth closed 8 years ago
Sorry for the confusion, I must have copied the example from my tests. It's just a function that returns a file path as a string, e.g. '/tmp/hello1'
.
All functions proxy either Node.js fs
or fs-extra
(in this case writeFile
) directly only returning promises instead.
Hey there, regarding this snippet from the README:
What is
file
? Sorry if this is ultra noob.