UNPKG

next-router-segments

Version:

Parsing Next.js pathname to structured segments, which you can use in various ways.

37 lines (36 loc) 923 B
{ "name": "next-router-segments", "version": "1.0.4", "description": "Parsing Next.js pathname to structured segments, which you can use in various ways.", "files": [ "lib/**/*" ], "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "tsc", "format": "prettier --write \"src/**/*.ts\"", "lint": "tslint -p tsconfig.json" }, "keywords": [ "Next.js", "Router", "Segments", "Pathname", "Route", "Routes" ], "author": "Z4NR34L <software@zanreal.net>", "repository": "https://github.com/z4nr34l/next-router-segments", "bugs": { "url": "https://github.com/z4nr34l/next-router-segments/issues" }, "homepage": "https://github.com/z4nr34l/next-router-segments#readme", "license": "MIT", "devDependencies": { "prettier": "^2.8.8", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^5.1.3" } }