UNPKG

onmount

Version:

Run something when a DOM element appears and when it exits

43 lines 973 B
{ "name": "onmount", "description": "Run something when a DOM element appears and when it exits", "version": "2.0.0", "author": "Rico Sta. Cruz <rico@ricostacruz.com>", "bugs": { "url": "https://github.com/rstacruz/onmount/issues" }, "devDependencies": { "docpress": "0.6.13", "eslint": "1.10.3", "eslint-config-standard": "4.4.0", "eslint-plugin-standard": "1.3.2", "jquery": "3.1.1", "jsdom": "16.5.0", "tape": "4.4.0", "tape-around": "2.2.0", "tape-eslint": "1.2.1" }, "directories": { "doc": "docs", "example": "examples", "test": "test" }, "homepage": "https://github.com/rstacruz/onmount#readme", "keywords": [ "dom", "enter", "exit", "mutation", "mutationobserver", "observe" ], "license": "MIT", "main": "index.js", "repository": { "type": "git", "url": "git+https://github.com/rstacruz/onmount.git" }, "scripts": { "test": "node test" } }