GoScrobble/web/node_modules/builtin-status-codes/build.js

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)