UNPKG

link-exists

Version:

A super lightweight JavaScript / TypeScript library to check whether a given url is valid and exists or not.

75 lines (74 loc) 1.85 kB
{ "name": "link-exists", "version": "1.2.2", "description": "A super lightweight JavaScript / TypeScript library to check whether a given url is valid and exists or not.", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist", "__tests__", "readme.md" ], "scripts": { "test": "jest --coverage", "build": "rollup --config", "lint": "eslint .", "dev": "rollup --config && node dist/index.js", "prepublish": "jest --coverage && eslint . && rollup --config" }, "repository": { "type": "git", "url": "https://github.com/stackblogger/link-exists.git" }, "keywords": [ "link-exists", "url-exist", "url-validator", "link-validator", "link-check", "validator", "verify", "node.js", "typescript" ], "author": { "name": "StackBlogger (Jameer Khan)", "email": "jimcute8879@gmail.com", "url": "https://stackblogger.com" }, "license": "ISC", "bugs": { "url": "https://github.com/stackblogger/link-exists/issues" }, "homepage": "https://stackblogger.com", "devDependencies": { "@types/jest": "^28.1.6", "@types/node": "^18.15.11", "@typescript-eslint/eslint-plugin": "^5.31.0", "@typescript-eslint/parser": "^5.31.0", "eslint": "^8.20.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-plugin-import": "^2.26.0", "jest": "^28.1.3", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.32.1", "ts-jest": "^28.0.7" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "coverageThreshold": { "global": { "branches": 95 } } }, "engines": { "node": ">= 16.0.0" }, "dependencies": { "http": "^0.0.1-security" } }