UNPKG

@sota1235/parse-link-header-ts

Version:

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

53 lines (52 loc) 1.36 kB
{ "name": "@sota1235/parse-link-header-ts", "version": "2.0.1", "type": "module", "description": "Parses a link header and returns paging information for each contained link.", "homepage": "https://github.com/sota1235/parse-link-header-ts", "bugs": "https://github.com/sota1235/parse-link-header-ts/issues", "repository": { "type": "git", "url": "https://github.com/sota1235/parse-link-header-ts" }, "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": "node --test --experimental-strip-types src/*.test.ts", "test:ci": "npm run test" }, "devDependencies": { "@sota1235/eslint-config": "^5.0.5", "@types/node": "^22.13.8", "eslint": "^9.21.0", "husky": "^8.0.3", "lint-staged": "^15.4.3", "prettier": "^3.0.3", "typescript": "^5.7.3", "typescript-eslint": "^8.25.0" }, "keywords": [ "parse", "link", "header", "weblink", "web", "link", "rel" ], "author": { "name": "Sota Sugiura" }, "license": "MIT", "lint-staged": { "*.ts": [ "npm run fix" ] } }