mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-25 14:26:29 +00:00
15 lines
257 B
JavaScript
15 lines
257 B
JavaScript
'use strict';
|
|
|
|
var JSONStream = require('JSONStream');
|
|
|
|
/**
|
|
* Create a transform stream that formats documentation as
|
|
* stringified JSON
|
|
*
|
|
* @name json
|
|
* @return {stream.Transform}
|
|
*/
|
|
module.exports = function () {
|
|
return JSONStream.stringify();
|
|
};
|