Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Spiced Rum-Script
#!/usr/bin/env coffee
#| 'Tis file be part 'o Arg
#| Arg! be free software; ye can copy, modify, 'n distribute
#| it under th' terms 'o th' MIT License
http = require('http')
url = ""
http.get url+escape(process.argv.slice(2).join(' ')), (res) ->
res.on 'data', (chunk) ->
console.log String(chunk)
.on 'error', (err) ->
console.log err
"name": "arg",
"version": "0.0.1",
"description": "Talk like a pirate",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"bin": {
"arg": "./bin/arg"
"author": "darkoverlordofdata",
"license": "MIT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment