UNPKG

@damisgarcia/v-infinite-scroll

Version:

`v-infinite-scroll` is a Vue 3 directive based on the Intersection Observer API. It provides a simple and performance-focused solution for loading new items in a `v-for` list as the user scrolls. By leveraging this directive, you can efficiently manage la

67 lines (66 loc) 1.78 kB
{ "name": "@damisgarcia/v-infinite-scroll", "version": "0.8.0", "repository": { "type": "git", "url": "https://github.com/damisgarcia/v-infinite-scroll" }, "keywords": [ "vue", "vue3", "infinite", "scroll", "v-infinite-scroll" ], "type": "module", "main": "dist/v-infinite-scroll.js", "module": "dist/v-infinite-scroll.umd.cjs", "typings": "dist/index.d.ts", "files": [ "dist/*" ], "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview", "test:unit": "vitest", "type-check": "vue-tsc --build --force", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "format": "prettier --write src/" }, "dependencies": { "@vueuse/core": "^10.11.0", "vue": "^3.4.29" }, "devDependencies": { "@rollup/plugin-typescript": "^11.1.6", "@rushstack/eslint-patch": "^1.8.0", "@tsconfig/node20": "^20.1.4", "@types/jsdom": "^21.1.7", "@types/node": "^20.14.5", "@types/rollup-plugin-peer-deps-external": "^2.2.5", "@vitejs/plugin-vue": "^5.0.5", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^13.0.0", "@vue/test-utils": "^2.4.6", "@vue/tsconfig": "^0.5.1", "eslint": "^8.57.0", "eslint-plugin-vue": "^9.23.0", "jsdom": "^24.1.0", "npm-run-all2": "^6.2.0", "prettier": "^3.2.5", "rollup": "^4.18.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-vue": "^6.0.0", "typescript": "~5.4.0", "vite": "^5.3.1", "vite-plugin-dts": "^3.9.1", "vite-plugin-vue-devtools": "^7.3.1", "vitest": "^1.6.0", "vue-tsc": "^2.0.21" }, "peerDependencies": { "vue": "^3.4.29" }, "license": "MIT" }