{"id":14964292,"url":"https://github.com/michaelsynan/nuxt-intersection-observer","last_synced_at":"2026-01-19T22:31:39.234Z","repository":{"id":246683816,"uuid":"821832368","full_name":"michaelsynan/nuxt-intersection-observer","owner":"michaelsynan","description":"A Nuxt module that uses a Vue custom directive and the Intersection Observer API to trigger animations","archived":false,"fork":false,"pushed_at":"2024-09-26T11:59:31.000Z","size":1018,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T04:31:44.594Z","etag":null,"topics":["animation","intersection-observer","intersectionobserver-api","nuxt","nuxt-module"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelsynan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-29T15:03:03.000Z","updated_at":"2024-11-20T00:51:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"6636ebbe-7fc9-480b-bba7-3c6c6723b21e","html_url":"https://github.com/michaelsynan/nuxt-intersection-observer","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"b641777ee5ca5305aedda7976c28cf2f5d63ad2d"},"previous_names":["michaelsynan/nuxt-intersection-observer"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/michaelsynan/nuxt-intersection-observer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsynan%2Fnuxt-intersection-observer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsynan%2Fnuxt-intersection-observer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsynan%2Fnuxt-intersection-observer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsynan%2Fnuxt-intersection-observer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelsynan","download_url":"https://codeload.github.com/michaelsynan/nuxt-intersection-observer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsynan%2Fnuxt-intersection-observer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28587240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T20:45:59.482Z","status":"ssl_error","status_checked_at":"2026-01-19T20:45:41.500Z","response_time":67,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","intersection-observer","intersectionobserver-api","nuxt","nuxt-module"],"created_at":"2024-09-24T13:32:56.487Z","updated_at":"2026-01-19T22:31:39.219Z","avatar_url":"https://github.com/michaelsynan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuxt Intersection Observer\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n[![Nuxt][nuxt-src]][nuxt-href]\n\nNuxt module using a Vue custom directive and the Intersection Observer API to trigger animations.\n\n- [✨ \u0026nbsp;Release Notes](/CHANGELOG.md)\n\u003c!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/nuxt-intersection-observer?file=playground%2Fapp.vue) --\u003e\n\u003c!-- - [📖 \u0026nbsp;Documentation](https://example.com) --\u003e\n\n## Features\n\n\u003c!-- Highlight some of the features your module provide here --\u003e\n- 🎯 \u0026nbsp;Trigger animations on elements entering the viewport\n- 🚀 \u0026nbsp;Smooth transitions using the Intersection Observer API\n- 🌟 \u0026nbsp;Customizable animation effects (coming soon)\n\n## Quick Setup\n\nInstall the module to your Nuxt application with one command:\n\n```bash\nnpx nuxi module add nuxt-intersection-observer\n```\n\nThat's it! You can now use Nuxt Intersection Observer in your Nuxt app ✨\n\n## Usage\n\nAdd the module to your `nuxt.config.ts`:\n\n```typescript\nexport default defineNuxtConfig({\n  modules: [\n    'nuxt-intersection-observer'\n  ],\n})\n```\n\nUse the directive in your components:\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv v-observe\u003e\n    This content will fade in when it enters the viewport.\n  \u003c/div\u003e\n\u003c/template\u003e\n```\n\n## Contribution\n\n\u003cdetails\u003e\n  \u003csummary\u003eLocal development\u003c/summary\u003e\n  \n  ```bash\n  # Install dependencies\n  npm install\n  \n  # Generate type stubs\n  npm run dev:prepare\n  \n  # Develop with the playground\n  npm run dev\n  \n  # Build the playground\n  npm run dev:build\n  \n  # Run ESLint\n  npm run lint\n  \n  # Run Vitest\n  npm run test\n  npm run test:watch\n  \n  # Release new version\n  npm run release\n  ```\n\n\u003c/details\u003e\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/nuxt-intersection-observer/latest.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\n[npm-version-href]: https://npmjs.com/package/nuxt-intersection-observer\n\n[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-intersection-observer.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\n[npm-downloads-href]: https://npmjs.com/package/nuxt-intersection-observer\n\n[license-src]: https://img.shields.io/npm/l/nuxt-intersection-observer.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\n[license-href]: https://npmjs.com/package/nuxt-intersection-observer\n\n[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js\n[nuxt-href]: https://nuxt.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelsynan%2Fnuxt-intersection-observer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelsynan%2Fnuxt-intersection-observer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelsynan%2Fnuxt-intersection-observer/lists"}