Heray-Was-Here
Server : nginx/1.18.0
System : Linux localhost 6.14.3-x86_64-linode168 #1 SMP PREEMPT_DYNAMIC Mon Apr 21 19:47:55 EDT 2025 x86_64
User : www-data ( 33)
PHP Version : 8.1.31
Disable Function : NONE
Directory :  /opt/homecoming-api/node_modules/ipaddr.js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/homecoming-api/node_modules/ipaddr.js/Cakefile
fs           = require 'fs'
CoffeeScript = require 'coffee-script'
nodeunit     = require 'nodeunit'
UglifyJS     = require 'uglify-js'

task 'build', 'build the JavaScript files from CoffeeScript source', build = (cb) ->
  source = fs.readFileSync 'src/ipaddr.coffee', 'utf-8'
  fs.writeFileSync 'lib/ipaddr.js', CoffeeScript.compile source.toString()

  invoke 'test'
  invoke 'compress'

task 'test', 'run the bundled tests', (cb) ->
  nodeunit.reporters.default.run ['test']

task 'compress', 'uglify the resulting javascript', (cb) ->
  source = fs.readFileSync 'lib/ipaddr.js', 'utf-8'
  fs.writeFileSync('ipaddr.min.js', UglifyJS.minify(source).code)

Hry