diff --git a/cat.js b/cat.js new file mode 100644 index 0000000..8235a44 --- /dev/null +++ b/cat.js @@ -0,0 +1,12 @@ +#! /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) +})