{
  "author": {
    "name": "Roman Shtylman",
    "email": "shtylman@gmail.com"
  },
  "name": "localtunnel",
  "description": "expose localhost to the world",
  "version": "1.8.1",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git://github.com/shtylman/localtunnel.git"
  },
  "dependencies": {
    "request": "2.65.0",
    "yargs": "3.29.0",
    "debug": "2.2.0",
    "openurl": "1.1.0"
  },
  "devDependencies": {
    "mocha": "~1.17.0"
  },
  "scripts": {
    "test": "mocha --ui qunit --reporter list --timeout 10000 -- test/index.js"
  },
  "bin": {
    "lt": "./bin/client"
  },
  "main": "./client.js",
  "readme": "# localtunnel\n\n[![Build Status](https://travis-ci.org/localtunnel/localtunnel.svg?branch=master)](https://travis-ci.org/localtunnel/localtunnel)\n\nlocaltunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes.\n\nGreat for working with browser testing tools like browserling or external api callback services like twilio which require a public url for callbacks.\n\n## installation ##\n\n```\nnpm install -g localtunnel\n```\n\nThis will install the localtunnel module globally and add the 'lt' client cli tool to your PATH.\n\n## use ##\n\nAssuming your local server is running on port 8000, just use the ```lt``` command to start the tunnel.\n\n```\nlt --port 8000\n```\n\nThats it! It will connect to the tunnel server, setup the tunnel, and tell you what url to use for your testing. This url will remain active for the duration of your session; so feel free to share it with others for happy fun time!\n\nYou can restart your local server all you want, ```lt``` is smart enough to detect this and reconnect once it is back.\n\n### arguments\n\nBelow are some common arguments. See `lt --help` for additional arguments\n\n* `--subdomain` request a named subdomain on the localtunnel server (default is random characters)\n* `--local-host` proxy to a hostname other than localhost\n\n## API ##\n\nThe localtunnel client is also usable through an API (for test integration, automation, etc)\n\n### localtunnel(port [,opts], fn)\n\nCreates a new localtunnel to the specified local `port`. `fn` will be called once you have been assigned a public localtunnel url. `opts` can be used to request a specific `subdomain`.\n\n```javascript\nvar localtunnel = require('localtunnel');\n\nvar tunnel = localtunnel(port, function(err, tunnel) {\n    if (err) ...\n\n    // the assigned public url for your tunnel\n    // i.e. https://abcdefgjhij.localtunnel.me\n    tunnel.url;\n});\n\ntunnel.on('close', function() {\n    // tunnels are closed\n});\n```\n\n### opts\n\n* `subdomain` A *string* value requesting a specific subdomain on the proxy server. **Note** You may not actually receive this name depending on availablily.\n* `local_host` Proxy to this hostname instead of `localhost`. This will also cause the `Host` header to be re-written to this value in proxied requests.\n\n### Tunnel\n\nThe `tunnel` instance returned to your callback emits the following events\n\n|event|args|description|\n|----|----|----|\n|error|err|fires when an error happens on the tunnel|\n|close||fires when the tunnel has closed|\n\nThe `tunnel` instance has the following methods\n\n|method|args|description|\n|----|----|----|\n|close||close the tunnel|\n\n## other clients ##\n\nClients in other languages\n\n*go* [gotunnelme](https://github.com/NoahShen/gotunnelme)\n\n## server ##\n\nSee defunctzombie/localtunnel-server for details on the server that powers localtunnel.\n\n## License ##\nMIT\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/shtylman/localtunnel/issues"
  },
  "_id": "localtunnel@1.8.1",
  "dist": {
    "shasum": "9de1a39318d8f1210ca3143437ba64074acec447"
  },
  "_from": "localtunnel@",
  "_resolved": "https://registry.npmjs.org/localtunnel/-/localtunnel-1.8.1.tgz"
}
