diff options
author | Max Ogden <max@maxogden.com> | 2016-08-05 12:36:08 -0700 |
---|---|---|
committer | Max Ogden <max@maxogden.com> | 2016-08-05 12:36:08 -0700 |
commit | 416108575f8207d687c52ca079117bcc5cfdb515 (patch) | |
tree | a6b6a2d5624b8edcbb6e4542714785f91e581649 /build.js | |
parent | 6879daedad2d53e32d1d9d7bf8b1c74574bc28ef (diff) | |
parent | ffb465bb3bcebb62c5e63cc3ed80d70274848deb (diff) | |
download | dat-docs-416108575f8207d687c52ca079117bcc5cfdb515.tar.gz dat-docs-416108575f8207d687c52ca079117bcc5cfdb515.zip |
Merge branch 'master' of https://github.com/datproject/docs
Diffstat (limited to 'build.js')
-rw-r--r-- | build.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build.js b/build.js new file mode 100644 index 0000000..33d1afe --- /dev/null +++ b/build.js @@ -0,0 +1,6 @@ +var fs = require('fs') +var ndjson = require('ndjson') + +process.stdin.pipe(ndjson.parse()).on('data', function (obj) { + fs.writeFileSync('docs/' + obj.name + '.md', obj.readme) +})
\ No newline at end of file |