can-bind-to-host
Version:
Utility package to see if the node process can bind to the host or listen on a port. Can be used for checking if a host resolves to localhost.
46 lines (45 loc) • 1.33 kB
JSON
{
"name": "can-bind-to-host",
"version": "1.1.2",
"description": "Utility package to see if the node process can bind to the host or listen on a port. Can be used for checking if a host resolves to localhost.",
"main": "dist/index.js",
"files": [
"dist/**"
],
"bin": {
"can-bind-to-host": "./dist/bin/can-bind-to-host.js"
},
"scripts": {
"prepublishOnly": "npm run build",
"test": "jest",
"build": "tsc",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint --fix . --ext .ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/knyzorg/can-bind-to-host.git"
},
"author": "Slava Knyazev",
"license": "MIT",
"bugs": {
"url": "https://github.com/knyzorg/can-bind-to-host/issues"
},
"homepage": "https://github.com/knyzorg/can-bind-to-host#readme",
"devDependencies": {
"@types/jest": "^28.1.5",
"@types/node": "^18.0.4",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"jest": "^28.1.3",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.7.4"
}
}