diff options
Diffstat (limited to 'build.js')
-rw-r--r-- | build.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ var fs = require('fs') var ndjson = require('ndjson') +fs.mkdirSync('docs/modules') process.stdin.pipe(ndjson.parse()).on('data', function (obj) { - fs.writeFileSync('docs/' + obj.name + '.md', obj.readme) + fs.writeFileSync('docs/modules/' + obj.name + '.md', obj.readme) }) |