Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "openport", | ||
"description": "Finds open network ports.", | ||
"author": "Joe Ferner <joe.ferner@nearinfinity.com>", | ||
"author": "Joe Ferner <joe@fernsroth.com>", | ||
"keywords": ["port", "network", "open"], | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"engines": { "node" : ">=0.6.0" }, | ||
"maintainers": [ | ||
{ "name": "Joe Ferner", "email": "joe.ferner@nearinfinity.com" } | ||
{ "name": "Joe Ferner", "email": "joe@fernsroth.com" } | ||
], | ||
@@ -14,6 +14,6 @@ "devDependencies": { | ||
}, | ||
"bugs": { "url": "https://github.com/nearinfinity/node-openport/issues" }, | ||
"bugs": { "url": "https://github.com/joeferner/node-openport/issues" }, | ||
"license": "MIT", | ||
"repository": { "type": "git", "url": "https://github.com/nearinfinity/node-openport.git" }, | ||
"repository": { "type": "git", "url": "https://github.com/joeferner/node-openport.git" }, | ||
"main": "./openport.js" | ||
} |
@@ -14,3 +14,4 @@ # openport | ||
```javascript | ||
var op = require('openport'); | ||
var op = require('openport'), | ||
http = require('http'); | ||
@@ -28,3 +29,3 @@ // find an open port | ||
count: 2 | ||
} | ||
}, | ||
function(err, ports) { | ||
@@ -42,3 +43,3 @@ if(err) { console.log(err); return; } | ||
avoid: [ 1025, 1500 ] | ||
} | ||
}, | ||
function(err, port) { | ||
@@ -45,0 +46,0 @@ if(err) { console.log(err); return; } |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97032
10128
86
5