File tree Expand file tree Collapse file tree 7 files changed +6
-70
lines changed
Expand file tree Collapse file tree 7 files changed +6
-70
lines changed Original file line number Diff line number Diff line change 1212[ logo-url ] : https://npmjs.org/package/detect-port
1313[ npm-image ] : https://img.shields.io/npm/v/detect-port.svg?style=flat-square
1414[ npm-url ] : https://npmjs.org/package/detect-port
15- [ travis-image ] : https://img.shields.io/travis/xudafeng /detect-port.svg?style=flat-square
16- [ travis-url ] : https://travis-ci.org/xudafeng /detect-port
17- [ coveralls-image ] : https://img.shields.io/coveralls/xudafeng /detect-port.svg?style=flat-square
18- [ coveralls-url ] : https://coveralls.io/r/xudafeng /detect-port?branch=master
15+ [ travis-image ] : https://img.shields.io/travis/node-modules /detect-port.svg?style=flat-square
16+ [ travis-url ] : https://travis-ci.org/node-modules /detect-port
17+ [ coveralls-image ] : https://img.shields.io/coveralls/node-modules /detect-port.svg?style=flat-square
18+ [ coveralls-url ] : https://coveralls.io/r/node-modules /detect-port?branch=master
1919[ node-image ] : https://img.shields.io/badge/node.js-%3E=_4-red.svg?style=flat-square
2020[ node-url ] : http://nodejs.org/download/
2121[ download-image ] : https://img.shields.io/npm/dm/detect-port.svg?style=flat-square
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
2- /* ================================================================
3- * detect-port by xdf(xudafeng[at]126.com)
4- *
5- * first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
6- *
7- * ================================================================
8- * Copyright 2013 xdf
9- *
10- * Licensed under the MIT License
11- * You may not use this file except in compliance with the License.
12- *
13- * ================================================================ */
142
153'use strict' ;
164
Original file line number Diff line number Diff line change 1- /* ================================================================
2- * detect-port by xdf(xudafeng[at]126.com)
3- *
4- * first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
5- *
6- * ================================================================
7- * Copyright xdf
8- *
9- * Licensed under the MIT License
10- * You may not use this file except in compliance with the License.
11- *
12- * ================================================================ */
13-
141'use strict' ;
152
163module . exports = require ( './lib/detect-port' ) ;
Original file line number Diff line number Diff line change 1- /* ================================================================
2- * detect-port by xdf(xudafeng[at]126.com)
3- *
4- * first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
5- *
6- * ================================================================
7- * Copyright xdf
8- *
9- * Licensed under the MIT License
10- * You may not use this file except in compliance with the License.
11- *
12- * ================================================================ */
13-
141'use strict' ;
152
163const net = require ( 'net' ) ;
Original file line number Diff line number Diff line change 1313 "main" : " index.js" ,
1414 "repository" : {
1515 "type" : " git" ,
16- "url" : " git://github.com/xudafeng /detect-port.git"
16+ "url" : " git://github.com/node-modules /detect-port.git"
1717 },
1818 "dependencies" : {},
1919 "devDependencies" : {
3535 "engines" : {
3636 "node" : " >= 4.2.1"
3737 },
38- "homepage" : " https://github.com/xudafeng /detect-port" ,
38+ "homepage" : " https://github.com/node-modules /detect-port" ,
3939 "license" : " MIT"
4040}
Original file line number Diff line number Diff line change 1- /* ================================================================
2- * detect-port by xdf(xudafeng[at]126.com)
3- *
4- * first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
5- *
6- * ================================================================
7- * Copyright xdf
8- *
9- * Licensed under the MIT License
10- * You may not use this file except in compliance with the License.
11- *
12- * ================================================================ */
13-
141'use strict' ;
152
163const path = require ( 'path' ) ;
Original file line number Diff line number Diff line change 1- /* ================================================================
2- * detect-port by xdf(xudafeng[at]126.com)
3- *
4- * first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST)
5- *
6- * ================================================================
7- * Copyright xdf
8- *
9- * Licensed under the MIT License
10- * You may not use this file except in compliance with the License.
11- *
12- * ================================================================ */
13-
141'use strict' ;
152
163const detectPort = require ( '..' ) ;
You can’t perform that action at this time.
0 commit comments