{"_id":"@animx-jaya/core","_rev":"2-ff75463178194a61502ac2d540228e10","name":"@animx-jaya/core","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@animx-jaya/core","version":"0.1.0","keywords":["animation","react","gsap","framer-motion","animation-engine","animx","unified-animation"],"author":{"name":"Jayavardhan Reddy","email":"https://github.com/K-JAYAVARDHANREDDY"},"license":"MIT","_id":"@animx-jaya/core@0.1.0","maintainers":[{"name":"k-jayavardhan-reddy","email":"jayavardhanvijaya@gmail.com"}],"homepage":"https://github.com/K-JAYAVARDHANREDDY/AnimXBack#readme","bugs":{"url":"https://github.com/K-JAYAVARDHANREDDY/AnimXBack/issues"},"dist":{"shasum":"11d9dfdef465960eea0e2534939e5750147967d0","tarball":"https://registry.npmjs.org/@animx-jaya/core/-/core-0.1.0.tgz","fileCount":14,"integrity":"sha512-wlnHTBJKp6tdgUhQdm824UwqrAtfJbfu+g6eof+neoSuFbTVXTiGxYOJHLI25434Pql1l5qjE1kaNbXQLbo8GQ==","signatures":[{"sig":"MEQCIDDfOOgamyNWo2Tix+k8x9RSc10r3eNmb6hIqWC55x5KAiAstBy6eepmmZhL06RpTWz7qbyKYSCZXWdjKAw4LOTNpw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24261},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"af3902a09c6fb10dbfbf1c0e4b3bf97f71b9a355","scripts":{"dev":"tsc --watch","build":"tsc"},"_npmUser":{"name":"k-jayavardhan-reddy","email":"jayavardhanvijaya@gmail.com"},"repository":{"url":"git+https://github.com/K-JAYAVARDHANREDDY/AnimXBack.git","type":"git","directory":"packages/core"},"_npmVersion":"11.6.2","description":"AnimX — Unified Animation API. Write Once, Animate Anywhere.","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"gsap":"^3.14.2","react":"^19.2.4","typescript":"^5.0.0"},"peerDependencies":{"gsap":"^3.12.0","react":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1775010195455_0.8897182124910139","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@animx-jaya/core","version":"0.1.1","description":"AnimX — Unified Animation API. Write Once, Animate Anywhere.","author":{"name":"Jayavardhan Reddy","email":"https://github.com/K-JAYAVARDHANREDDY"},"repository":{"type":"git","url":"git+https://github.com/K-JAYAVARDHANREDDY/AnimXBack.git","directory":"packages/core"},"homepage":"https://github.com/K-JAYAVARDHANREDDY/AnimXBack#readme","bugs":{"url":"https://github.com/K-JAYAVARDHANREDDY/AnimXBack/issues"},"keywords":["animation","react","gsap","framer-motion","animation-engine","animx","unified-animation"],"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"build":"tsc","dev":"tsc --watch"},"peerDependencies":{"gsap":"^3.12.0","react":"^18.0.0 || ^19.0.0"},"devDependencies":{"gsap":"^3.14.2","react":"^19.2.4","typescript":"^5.0.0"},"license":"MIT","gitHead":"b0065307eaed2634d0112be5eb0fb29614363fc0","_id":"@animx-jaya/core@0.1.1","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-RV/7UPtCXDxxv/gpQSgmH7wKVVysNtxNQ0NIZEz3mhL0Cv24QWOy0b9nm2S0RmaamAQlnf7fE1ai9NVM/OqQgw==","shasum":"3882d3797b7b8d1c8d2c022d58ea1cfb24f20a40","tarball":"https://registry.npmjs.org/@animx-jaya/core/-/core-0.1.1.tgz","fileCount":14,"unpackedSize":24299,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHCBB5Rfl2H0uVn0RtA9zlCLkrdH1DzWCJ52GvFwWHmaAiBpFbSMuMcV2MVYOPEYbV1BvvR5sAaWF35uqh3ZxwGxyg=="}]},"_npmUser":{"name":"k-jayavardhan-reddy","email":"jayavardhanvijaya@gmail.com"},"directories":{},"maintainers":[{"name":"k-jayavardhan-reddy","email":"jayavardhanvijaya@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.1_1775276485490_0.4868240327193487"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-01T02:23:15.339Z","modified":"2026-04-04T04:21:25.792Z","0.1.0":"2026-04-01T02:23:15.653Z","0.1.1":"2026-04-04T04:21:25.633Z"},"bugs":{"url":"https://github.com/K-JAYAVARDHANREDDY/AnimXBack/issues"},"author":{"name":"Jayavardhan Reddy","email":"https://github.com/K-JAYAVARDHANREDDY"},"license":"MIT","homepage":"https://github.com/K-JAYAVARDHANREDDY/AnimXBack#readme","keywords":["animation","react","gsap","framer-motion","animation-engine","animx","unified-animation"],"repository":{"type":"git","url":"git+https://github.com/K-JAYAVARDHANREDDY/AnimXBack.git","directory":"packages/core"},"description":"AnimX — Unified Animation API. Write Once, Animate Anywhere.","maintainers":[{"name":"k-jayavardhan-reddy","email":"jayavardhanvijaya@gmail.com"}],"readme":"# @animx-jaya/core\n\n> **AnimX** — Unified Animation API. Write Once, Animate Anywhere.\n\nThe core engine and type system for the AnimX animation framework. Provides a unified API to manage animations across GSAP, Framer Motion, CSS, and Tailwind.\n\n## Installation\n\n```bash\nnpm install @animx-jaya/core\n```\n\n## Peer Dependencies\n\nThis package requires the following peer dependencies:\n\n```bash\nnpm install gsap react\n```\n\n## Usage\n\n```tsx\nimport { AnimX, AnimXEngine } from '@animx-jaya/core'\nimport type { Animation, AnimationMetadata } from '@animx-jaya/core'\n\n// Create an engine instance\nconst engine = new AnimXEngine()\n\n// Register and manage animations\nengine.register(myAnimation)\nconst all = engine.getAll()\nconst filtered = engine.getByCategory('text')\n```\n\n## API\n\n### `AnimXEngine`\n\nThe main engine class for registering and querying animations.\n\n| Method | Description |\n|--------|-------------|\n| `register(animation)` | Register an animation with the engine |\n| `getAll()` | Get all registered animations |\n| `getById(id)` | Get a single animation by its ID |\n| `getByCategory(category)` | Filter animations by category |\n| `getByEngine(engine)` | Filter animations by engine type |\n\n### Types\n\n| Type | Description |\n|------|-------------|\n| `Animation` | Full animation object with component and metadata |\n| `AnimationDTO` | Data transfer object for API responses |\n| `AnimationSummaryDTO` | Lightweight summary for listing |\n| `AnimationMetadata` | Metadata including name, description, category, etc. |\n| `AnimationEngine` | `'gsap' \\| 'framer-motion' \\| 'css' \\| 'tailwind'` |\n| `AnimationCategory` | Category classification for animations |\n| `DifficultyLevel` | `'beginner' \\| 'intermediate' \\| 'advanced'` |\n\n## Related Packages\n\n- [`@animx-jaya/animations`](https://www.npmjs.com/package/@animx-jaya/animations) — Ready-to-use animation components built on `@animx-jaya/core`\n\n## License\n\nMIT © [Jayavardhan Reddy](https://github.com/K-JAYAVARDHANREDDY)\n","readmeFilename":"README.md"}