UNPKG

extract-domain

Version:
55 lines (54 loc) 1.41 kB
{ "name": "extract-domain", "version": "5.0.2", "description": "Extract domain name from URL", "type": "module", "source": "index.ts", "exports": { "types": "./dist/index.d.ts", "main": "./dist/extract-domain.module.js", "default": "./dist/extract-domain.module.js" }, "main": "./dist/extract-domain.module.js", "module": "./dist/extract-domain.module.js", "author": "Bjarne Oeverli", "license": "MIT", "scripts": { "build": "npm run pretty && bunx --bun microbundle -i extractDomain -f esm index.ts", "test": "bun test tests/", "test:watch": "bun test --watch tests/", "pretty": "prettier --tab-width=4 --print-width=100 --single-quote --trailing-comma=es5 --write *.ts *.ts", "benchmark": "bun run benchmark/benchmark.js" }, "repository": { "type": "git", "url": "https://github.com/bjarneo/extract-domain.git" }, "homepage": "https://github.com/bjarneo/extract-domain", "bugs": { "url": "https://github.com/bjarneo/extract-domain/issues" }, "keywords": [ "extract", "domain", "name", "parse", "get", "fetch", "string", "url", "browser", "node" ], "devDependencies": { "@types/psl": "^1.1.0", "microbundle": "^0.15.1", "mocha": "^10.2.0", "nanobench": "^1.0.3", "prettier": "^1.11.1", "psl": "^1.9.0" }, "peerDependencies": { "psl": "^1.9.0" } }