Prepend data to a file, creating it if it doesn't exist.
npm install prepend-filesh
npm install prepend-file
`
Usage
`js
const prependFile = require('prepend-file');
(async () => {
await prependFile('message.txt', 'some data');
});
`
API
$3
$3
#### filename
Type: string
The file to prepend the data to.
#### data
Type: string | Buffer`