svelte-intersect

svelte-intersect ๐Ÿ’ 
a Svelte action for IntersectionObserver
npm i -D svelte-intersect
  • index.js
    • Intersect_Params
    • Intersect_Params_Or_Callback
    • intersect
    • On_Intersect
    • Intersect_State
    • On_Disconnect
    • Disconnect_State
  • raw data for pkg: Package_Meta
    {
    	"url": "https://ryanatkn.github.io/svelte-intersect/",
    	"package_json": {
    		"name": "svelte-intersect",
    		"description": "a Svelte action for IntersectionObserver",
    		"version": "0.12.1",
    		"license": "MIT",
    		"icon": "๐Ÿ’ ",
    		"public": true,
    		"homepage": "https://ryanatkn.github.io/svelte-intersect/",
    		"repository": "https://github.com/ryanatkn/svelte-intersect",
    		"author": {
    			"name": "Ryan Atkinson",
    			"email": "mail@ryanatkn.com",
    			"url": "https://www.ryanatkn.com/"
    		},
    		"bugs": "https://github.com/ryanatkn/svelte-intersect/issues",
    		"funding": "https://www.ryanatkn.com/funding",
    		"type": "module",
    		"engines": {
    			"node": ">=20.10"
    		},
    		"scripts": {
    			"start": "gro dev",
    			"dev": "gro dev",
    			"build": "gro build",
    			"test": "gro test",
    			"deploy": "gro deploy"
    		},
    		"files": [
    			"dist"
    		],
    		"peerDependencies": {
    			"svelte": "*"
    		},
    		"devDependencies": {
    			"@changesets/changelog-git": "^0.2.0",
    			"@ryanatkn/belt": "^0.20.10",
    			"@ryanatkn/eslint-config": "^0.1.0",
    			"@ryanatkn/fuz": "^0.92.0",
    			"@ryanatkn/fuz_code": "^0.11.0",
    			"@ryanatkn/gro": "^0.113.0",
    			"@sveltejs/adapter-static": "^3.0.1",
    			"@sveltejs/kit": "^2.5.4",
    			"@sveltejs/package": "^2.3.0",
    			"@sveltejs/vite-plugin-svelte": "^3.0.2",
    			"@typescript-eslint/eslint-plugin": "^7.4.0",
    			"@typescript-eslint/parser": "^7.4.0",
    			"eslint": "^8.57.0",
    			"eslint-plugin-svelte": "^2.35.1",
    			"prettier": "^3.2.5",
    			"prettier-plugin-svelte": "^3.2.2",
    			"prism-svelte": "^0.5.0",
    			"prismjs": "^1.29.0",
    			"svelte": "^4.2.12",
    			"svelte-check": "^3.6.8",
    			"tslib": "^2.6.2",
    			"typescript": "^5.4.3",
    			"uvu": "^0.5.6"
    		},
    		"eslintConfig": {
    			"root": true,
    			"extends": "@ryanatkn"
    		},
    		"prettier": {
    			"plugins": [
    				"prettier-plugin-svelte"
    			],
    			"useTabs": true,
    			"printWidth": 100,
    			"singleQuote": true,
    			"bracketSpacing": false,
    			"overrides": [
    				{
    					"files": "package.json",
    					"options": {
    						"useTabs": false
    					}
    				}
    			]
    		},
    		"exports": {
    			".": {
    				"default": "./dist/index.js",
    				"types": "./dist/index.d.ts"
    			}
    		}
    	},
    	"src_json": {
    		"name": "svelte-intersect",
    		"version": "0.12.1",
    		"modules": {
    			".": {
    				"path": "index.ts",
    				"declarations": [
    					{
    						"name": "Intersect_Params",
    						"kind": "type"
    					},
    					{
    						"name": "Intersect_Params_Or_Callback",
    						"kind": "type"
    					},
    					{
    						"name": "intersect",
    						"kind": "function"
    					},
    					{
    						"name": "On_Intersect",
    						"kind": "type"
    					},
    					{
    						"name": "Intersect_State",
    						"kind": "type"
    					},
    					{
    						"name": "On_Disconnect",
    						"kind": "type"
    					},
    					{
    						"name": "Disconnect_State",
    						"kind": "type"
    					}
    				]
    			}
    		}
    	},
    	"name": "svelte-intersect",
    	"repo_name": "svelte-intersect",
    	"repo_url": "https://github.com/ryanatkn/svelte-intersect",
    	"owner_name": "ryanatkn",
    	"homepage_url": "https://ryanatkn.github.io/svelte-intersect/",
    	"npm_url": "https://www.npmjs.com/package/svelte-intersect",
    	"changelog_url": "https://github.com/ryanatkn/svelte-intersect/blob/main/CHANGELOG.md",
    	"published": true
    }