hexo/node_modules/builtin-status-codes/build.js

9 lines
193 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)