UNPKG
stats
Version:
latest (1.0.0)
1.0.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
JavaScript statistics (LOC, SLOC, etc)
stats
/
lib
/
formats
/
json.js
17 lines
(14 loc)
•
272 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/
*! *
stats - formats - json
*
Copyright(c) 2011 TJ Holowaychuk
<tj@vision-media.ca>
*
MIT Licensed
*/ /*
*
*
Output
`stats`
as JSON.
*
* @param {Object} stats
*
@api private
*/ module.exports = function(stats){ process.stdout.write(JSON.stringify(stats)); };