UNPKG

link-exists

Version:

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

74 lines (73 loc) 1.92 kB
{ "name": "link-exists", "version": "2.0.4", "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", "readme.md", "postinstall.js" ], "scripts": { "postinstall": "node postinstall.js", "test": "jest --coverage", "build": "rollup --config", "lint": "eslint .", "dev": "rollup --config && node dist/index.js", "play": "rollup --config && node scripts/play.cjs", "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://opensource.stackblogger.com/link-exists", "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": ">= 18.0.0" } }