@cascadia-code/scroll-to-hash-element
Version:
Detects location.hash changes and scrolls to the element with the corresponding id. Customizable scroll behavior.
36 lines • 929 B
JSON
{
"name": "@cascadia-code/scroll-to-hash-element",
"version": "2.0.3",
"description": "Detects location.hash changes and scrolls to the element with the corresponding id. Customizable scroll behavior.",
"main": "dist/index.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "npm test",
"build": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ncoughlin/scroll-to-hash-element.git"
},
"keywords": [
"react-router",
"hash",
"hash-link",
"anchor link"
],
"author": "Nicholas Coughlin",
"license": "MIT",
"bugs": {
"url": "https://github.com/ncoughlin/scroll-to-hash-element/issues"
},
"homepage": "https://github.com/ncoughlin/scroll-to-hash-element#readme",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@types/react": "^18.3.3",
"typescript": "^4.9.0"
}
}