all-contributors-cli/lib/markdown.js
2016-02-29 11:45:19 +01:00

16 lines
242 B
JavaScript

'use strict';
var fs = require('fs');
function read(filePath, cb) {
fs.readFile(filePath, 'utf8', cb);
}
function write(filePath, content, cb) {
fs.writeFile(filePath, content, cb);
}
module.exports = {
read: read,
write: write
}