UNPKG

@renyuneyun/parse-link-header-ts

Version:

Parses a link header and returns information for each contained link.

55 lines (54 loc) 1.4 kB
{ "name": "@renyuneyun/parse-link-header-ts", "version": "2.0.0", "description": "Parses a link header and returns information for each contained link.", "homepage": "https://github.com/renyuneyun/parse-link-header-ts", "bugs": "https://github.com/renyuneyun/parse-link-header-ts/issues", "repository": { "type": "git", "url": "https://github.com/renyuneyun/parse-link-header-ts" }, "type": "module", "main": "dist/index.js", "scripts": { "build": "tsc", "build:publish": "tsc -p ./tsconfig.publish.json", "fix": "npm run prettier && npm run eslint:fix", "lint": "npm run eslint", "eslint": "eslint 'src/**/*.ts'", "eslint:fix": "npm run eslint --fix", "prettier": "prettier --write 'src/**/*.ts'", "test": "jest", "test:ci": "jest -c ./jest.config.ci.js" }, "devDependencies": { "@sota1235/eslint-config": "^4.2.2", "@types/jest": "^29.5.5", "@typescript-eslint/eslint-plugin": "^6.7.5", "eslint": "^8.51.0", "husky": "^8.0.3", "jest": "^29.7.0", "lint-staged": "^14.0.1", "prettier": "^3.0.3", "ts-jest": "^29.1.1", "typescript": "^5.2.2" }, "keywords": [ "parse", "link", "header", "weblink", "web", "link", "rel" ], "author": { "name": "Rui Zhao (renyuneyun)" }, "license": "MIT", "lint-staged": { "*.ts": [ "npm run fix" ] } }