detect-element-overflow
Version:
A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.
53 lines • 1.34 kB
JSON
{
"name": "detect-element-overflow",
"version": "2.0.0",
"description": "A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.",
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./*": "./*"
},
"scripts": {
"build": "tsc --project tsconfig.build.json",
"clean": "rimraf dist",
"format": "biome format",
"lint": "biome lint",
"prepack": "yarn clean && yarn build",
"test": "yarn lint && yarn tsc && yarn format",
"tsc": "tsc"
},
"keywords": [
"collision",
"collision-detection",
"position"
],
"author": {
"name": "Wojciech Maj",
"email": "kontakt@wojtekmaj.pl"
},
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "1.9.0",
"husky": "^9.0.0",
"rimraf": "^6.0.0",
"typescript": "^5.5.2"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wojtekmaj/detect-element-overflow.git"
},
"funding": "https://github.com/wojtekmaj/detect-element-overflow?sponsor=1",
"packageManager": "yarn@4.3.1"
}