mirror of https://github.com/jkjoy/sunpeiwen.git
9 lines
185 B
JavaScript
9 lines
185 B
JavaScript
|
'use strict'
|
||
|
|
||
|
var fs = require('fs')
|
||
|
var statusCodes = require('./')
|
||
|
|
||
|
var code = 'module.exports = ' + JSON.stringify(statusCodes, null, 2) + '\n'
|
||
|
|
||
|
fs.writeFileSync('browser.js', code)
|