standard-readme/cat.js
Richard Littauer 28d16eea64 Add file
2017-05-08 15:21:31 +02:00

13 lines
245 B
JavaScript

#! /usr/bin/env node
const fs = require('fs')
const path = require('path')
fs.readFile(path.join(process.cwd(), './spec.md'), {encoding: 'utf8'}, (err, file) => {
if (err) {
console.log('Unable to find file')
}
console.log(file)
})