Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reintegrating and renaming

  • Loading branch information...
commit b102cf1ec40f448ab6305d2e875f553a87dff596 1 parent fa3d253
@pghalliday authored
Showing with 16 additions and 15 deletions.
  1. +2 −5 README.md
  2. +11 −7 package.json
  3. +3 −3 src/LocalTunnel.js
View
7 README.md
@@ -19,13 +19,13 @@ http://progrium.com/localtunnel/
## Installation
```
-npm install node-localtunnel
+npm install localtunnel-wrapper
```
## API
```javascript
-var LocalTunnel = require('node-localtunnel');
+var LocalTunnel = require('localtunnel-wrapper');
var localTunnel = new LocalTunnel(8080);
localTunnel.start(function(error, hostname) {
@@ -53,9 +53,6 @@ localTunnel.start(function(error, hostname) {
## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using ``./grunt.sh`` or ``.\grunt.bat``.
-## Release History
-_(Nothing yet)_
-
## License
Copyright (c) 2012 Peter Halliday
Licensed under the MIT license.
View
18 package.json
@@ -1,8 +1,8 @@
{
- "name": "node-localtunnel",
+ "name": "localtunnel-wrapper",
"description": "Node.js wrapper for the localtunnel ruby client",
"version": "0.0.1",
- "homepage": "https://github.com/pghalliday/node-localtunnel.git",
+ "homepage": "https://github.com/pghalliday/node-LocalTunnel.git",
"author": {
"name": "Peter Halliday",
"email": "pghalliday@gmail.com",
@@ -10,15 +10,15 @@
},
"repository": {
"type": "git",
- "url": "git://github.com/pghalliday/node-localtunnel.git"
+ "url": "git://github.com/pghalliday/node-LocalTunnel.git"
},
"bugs": {
- "url": "https://github.com/pghalliday/node-localtunnel/issues"
+ "url": "https://github.com/pghalliday/node-LocalTunnel/issues"
},
"licenses": [
{
"type": "MIT",
- "url": "https://github.com/pghalliday/node-localtunnel/blob/master/LICENSE-MIT"
+ "url": "https://github.com/pghalliday/node-LocalTunnel/blob/master/LICENSE-MIT"
}
],
"main": "src/LocalTunnel.js",
@@ -29,12 +29,16 @@
"test": "grunt"
},
"dependencies": {
- "ChildKiller": "https://github.com/pghalliday/ChildKiller/archive/master.tar.gz"
+ "child-daemon": "https://github.com/pghalliday/node-ChildDaemon/archive/master.tar.gz"
},
"devDependencies": {
"grunt": "0.3.17",
"grunt-mocha-test": "0.0.1",
"expect.js": "~0.2.0"
},
- "keywords": []
+ "keywords": [
+ "localtunnel",
+ "spawn",
+ "child_process"
+ ]
}
View
6 src/LocalTunnel.js
@@ -1,9 +1,9 @@
var util = require('util'),
- ChildKiller = require('ChildKiller');
+ ChildDaemon = require('child-daemon');
function LocalTunnel(port, binary) {
binary = binary || 'localtunnel';
- ChildKiller.call(
+ ChildDaemon.call(
this,
binary,
[port],
@@ -18,6 +18,6 @@ function LocalTunnel(port, binary) {
});
};
}
-util.inherits(LocalTunnel, ChildKiller);
+util.inherits(LocalTunnel, ChildDaemon);
module.exports = LocalTunnel;
Please sign in to comment.
Something went wrong with that request. Please try again.