GT2/GT2-Android/node_modules/freeport-async/package.json

94 lines
3.6 KiB
JSON

{
"_args": [
[
{
"raw": "freeport-async@^1.1.1",
"scope": null,
"escapedName": "freeport-async",
"name": "freeport-async",
"rawSpec": "^1.1.1",
"spec": ">=1.1.1 <2.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl"
]
],
"_from": "freeport-async@>=1.1.1 <2.0.0",
"_id": "freeport-async@1.1.1",
"_inCache": true,
"_location": "/freeport-async",
"_nodeVersion": "6.9.1",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/freeport-async-1.1.1.tgz_1484199308143_0.018752024974673986"
},
"_npmUser": {
"name": "exponent",
"email": "exponent.team@gmail.com"
},
"_npmVersion": "3.10.8",
"_phantomChildren": {},
"_requested": {
"raw": "freeport-async@^1.1.1",
"scope": null,
"escapedName": "freeport-async",
"name": "freeport-async",
"rawSpec": "^1.1.1",
"spec": ">=1.1.1 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/xdl"
],
"_resolved": "https://registry.npmjs.org/freeport-async/-/freeport-async-1.1.1.tgz",
"_shasum": "5c8cf4fc1aba812578317bd4d7a1e5597baf958e",
"_shrinkwrap": null,
"_spec": "freeport-async@^1.1.1",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl",
"author": {
"name": "exponent.team@gmail.com"
},
"bugs": {
"url": "https://github.com/650Industries/freeport/issues"
},
"dependencies": {},
"description": "Uses mikeal's code to find an open port in a given range",
"devDependencies": {},
"directories": {},
"dist": {
"shasum": "5c8cf4fc1aba812578317bd4d7a1e5597baf958e",
"tarball": "https://registry.npmjs.org/freeport-async/-/freeport-async-1.1.1.tgz"
},
"gitHead": "1939cf7c1883c4f68b02da7a9970535141442015",
"homepage": "https://gist.github.com/mikeal/1840641",
"keywords": [
"port",
"free",
"open",
"new",
"fresh",
"clean",
"networking",
"mikeal"
],
"main": "index.js",
"maintainers": [
{
"name": "exponent",
"email": "exponent.team@gmail.com"
}
],
"name": "freeport-async",
"optionalDependencies": {},
"readme": "# freeport-async\n\nFinds an available port for your application to use.\nYou can specify a range where to look for an available port.\nAnd can also find a range of available ports for you to use.\nYou can also be used to test to see if a given port is available.\n\nAll functions are async and return Promises.\n\n\nUsage:\n```js\n var freeportAsync = require('freeport-async');\n\n var portICanUse = await freeportAsync();\n\n var portIn9000Range = await freeportAsync(9000);\n\n var isPort5000Available = await freeportAsync.availableAsync(5000);\n\n var listOf5ConsecutiveAvailablePorts = await freeportAsync.rangeAsync(5);\n\n var freeRangeIn12000Range = await freeportAsync.rangeAsync(3, 12000);\n\n```\n\nNote that this code just finds available ports, but doesn't reserve them in any way.\nThis means that if you have other code that might be looking for a port in the same range at the same time, you could run into issues.\nAlso, if you call `freeportAsync` twice in a row, it will often return the same port number twice. If you want to find two (or more) ports you can use, you need to call `freeportAsync.rangeAsync(<number-of-ports>, [startSearchFrom])`.\n\n\nSee also https://gist.github.com/mikeal/1840641\n\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/650Industries/freeport.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "1.1.1"
}