Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
[logo-url]: https://npmjs.org/package/detect-port
[npm-image]: https://img.shields.io/npm/v/detect-port.svg?style=flat-square
[npm-url]: https://npmjs.org/package/detect-port
[travis-image]: https://img.shields.io/travis/xudafeng/detect-port.svg?style=flat-square
[travis-url]: https://travis-ci.org/xudafeng/detect-port
[coveralls-image]: https://img.shields.io/coveralls/xudafeng/detect-port.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/xudafeng/detect-port?branch=master
[travis-image]: https://img.shields.io/travis/node-modules/detect-port.svg?style=flat-square
[travis-url]: https://travis-ci.org/node-modules/detect-port
[coveralls-image]: https://img.shields.io/coveralls/node-modules/detect-port.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/node-modules/detect-port?branch=master
[node-image]: https://img.shields.io/badge/node.js-%3E=_4-red.svg?style=flat-square
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/detect-port.svg?style=flat-square
Expand Down
12 changes: 0 additions & 12 deletions bin/detect-port
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
#!/usr/bin/env node
/* ================================================================
* detect-port by xdf(xudafeng[at]126.com)
*
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
*
* ================================================================
* Copyright 2013 xdf
*
* Licensed under the MIT License
* You may not use this file except in compliance with the License.
*
* ================================================================ */

'use strict';

Expand Down
13 changes: 0 additions & 13 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
/* ================================================================
* detect-port by xdf(xudafeng[at]126.com)
*
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
*
* ================================================================
* Copyright xdf
*
* Licensed under the MIT License
* You may not use this file except in compliance with the License.
*
* ================================================================ */

'use strict';

module.exports = require('./lib/detect-port');
13 changes: 0 additions & 13 deletions lib/detect-port.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
/* ================================================================
* detect-port by xdf(xudafeng[at]126.com)
*
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
*
* ================================================================
* Copyright xdf
*
* Licensed under the MIT License
* You may not use this file except in compliance with the License.
*
* ================================================================ */

'use strict';

const net = require('net');
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/xudafeng/detect-port.git"
"url": "git://github.com/node-modules/detect-port.git"
},
"dependencies": {},
"devDependencies": {
Expand All @@ -35,6 +35,6 @@
"engines": {
"node": ">= 4.2.1"
},
"homepage": "https://github.com/xudafeng/detect-port",
"homepage": "https://github.com/node-modules/detect-port",
"license": "MIT"
}
13 changes: 0 additions & 13 deletions test/cli.test.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
/* ================================================================
* detect-port by xdf(xudafeng[at]126.com)
*
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
*
* ================================================================
* Copyright xdf
*
* Licensed under the MIT License
* You may not use this file except in compliance with the License.
*
* ================================================================ */

'use strict';

const path = require('path');
Expand Down
13 changes: 0 additions & 13 deletions test/detect-port.test.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
/* ================================================================
* detect-port by xdf(xudafeng[at]126.com)
*
* first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
*
* ================================================================
* Copyright xdf
*
* Licensed under the MIT License
* You may not use this file except in compliance with the License.
*
* ================================================================ */

'use strict';

const detectPort = require('..');
Expand Down