UNPKG

@the-node-forge/url-validator

Version:

A lightweight and efficient library for validating URLs. It ensures that URLs are correctly formatted and provides an optional feature to check whether a URL is live by sending an HTTP request. This package is designed for web applications, APIs, and serv

81 lines (80 loc) 2.46 kB
{ "name": "@the-node-forge/url-validator", "version": "1.0.6", "description": "A lightweight and efficient library for validating URLs. It ensures that URLs are correctly formatted and provides an optional feature to check whether a URL is live by sending an HTTP request. This package is designed for web applications, APIs, and services that require reliable URL validation.", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { "import": "./dist/index.js", "require": "./dist/index.js" }, "scripts": { "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "format": "prettier --write .", "format:check": "prettier --check .", "lint": "eslint .", "lint:fix": "eslint . --fix", "prepublishOnly": "npm run build", "build": "tsc", "docs:generate": "typedoc --plugin typedoc-plugin-markdown --out docs/api src/index.ts", "docs:build": "npm run docs:generate && cd docs && npm run build", "docs:start": "npm run docs:generate && cd docs && npm start", "docs:clean": "rm -rf docs/build && npm run docs:generate && npm run docs:build", "docs:deploy": "cd docs && npm run deploy" }, "repository": { "type": "git", "url": "https://github.com/The-Node-Forge/url-validator" }, "keywords": [ "url", "url-validation", "url-validator", "validate-url", "http", "https", "url-checker", "web-validation", "typescript", "axios", "fetch", "npm-package", "web-development", "javascript", "network-utilities", "http-status", "status-check", "url-live-check" ], "author": { "name": "Lanny MacMillan", "url": "https://github.com/Lanny-MacMillan" }, "license": "MIT", "files": [ "dist", "README.md" ], "devDependencies": { "@eslint/compat": "^1.2.5", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.19.0", "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^8.22.0", "@typescript-eslint/parser": "^8.22.0", "eslint": "^9.19.0", "eslint-config-prettier": "^10.0.1", "eslint-import-resolver-typescript": "^3.7.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.3", "globals": "^15.14.0", "jest": "^29.7.0", "prettier": "^3.4.2", "ts-jest": "^29.2.5", "typedoc": "^0.27.6", "typedoc-plugin-markdown": "^4.4.1", "typescript": "^5.7.3" } }