{"_id":"@duytran7/landing-core","_rev":"2-cff1c5b49c16a76f7deef93e5047f270","name":"@duytran7/landing-core","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@duytran7/landing-core","version":"0.1.0","keywords":["landing","config","schema","zod","typescript"],"license":"MIT","_id":"@duytran7/landing-core@0.1.0","maintainers":[{"name":"tranduybthv","email":"tranduybthv@gmail.com"}],"homepage":"https://github.com/Tran-Duc-Duy/duytran7#readme","bugs":{"url":"https://github.com/Tran-Duc-Duy/duytran7/issues"},"dist":{"shasum":"5901dec417f19ceffb43c031865bbbdecf4c944a","tarball":"https://registry.npmjs.org/@duytran7/landing-core/-/landing-core-0.1.0.tgz","fileCount":9,"integrity":"sha512-A1jEDF5VOBA3agGuzB6avTc0DJQtAfa/qlRZH6i2wwM0dsuVRcGUe4fvSEPSESJwt9ol+2AQGwRLbZGhZPaKAg==","signatures":[{"sig":"MEUCIQD1xqrJpPQx1vVUehPESQHSjMCzkWoqwX94l5oIrIOFpQIgBxtaNVNqR3hq4NX+v0EJeNkoDYBaDrzHOA+2bsFX76A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":402906},"main":"./dist/index.cjs","type":"module","_from":"file:duytran7-landing-core-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","test":"vitest run --config ../../vitest.config.ts","build":"tsup","clean":"rm -rf dist","ci:publish":"pnpm publish --access public --no-git-checks"},"_npmUser":{"name":"tranduybthv","email":"tranduybthv@gmail.com"},"_resolved":"/tmp/8073cae127d045ca160de4089f91ef43/duytran7-landing-core-0.1.0.tgz","_integrity":"sha512-A1jEDF5VOBA3agGuzB6avTc0DJQtAfa/qlRZH6i2wwM0dsuVRcGUe4fvSEPSESJwt9ol+2AQGwRLbZGhZPaKAg==","repository":{"url":"git+https://github.com/Tran-Duc-Duy/duytran7.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Types, Zod schema, parser and component registry for landing page JSON config. Framework-agnostic.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"~5.7.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/landing-core_0.1.0_1772514162737_0.10579198286700842","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@duytran7/landing-core","version":"0.1.1","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"dependencies":{"zod":"^3.24.1"},"devDependencies":{"tsup":"^8.4.0","typescript":"~5.7.2"},"peerDependencies":{},"repository":{"type":"git","url":"git+https://github.com/Tran-Duc-Duy/duytran7.git","directory":"packages/core"},"license":"MIT","keywords":["landing","config","schema","zod","typescript"],"description":"Types, Zod schema, parser and component registry for landing page JSON config. Framework-agnostic.","scripts":{"build":"tsup","dev":"tsup --watch","clean":"rm -rf dist","test":"vitest run --config ../../vitest.config.ts","ci:publish":"pnpm publish --access public --no-git-checks"},"_id":"@duytran7/landing-core@0.1.1","bugs":{"url":"https://github.com/Tran-Duc-Duy/duytran7/issues"},"homepage":"https://github.com/Tran-Duc-Duy/duytran7#readme","_integrity":"sha512-gWUDp4chBDjfjJSNT1a2zIwtNpZaZW7/B7J6ac7UwMOYpsGudT4CGBAPPiQ3G/clh930cplR8Lze8tYsx9sHuQ==","_resolved":"/tmp/9c5e9bc2c6adbf8ae5c0df053812e88f/duytran7-landing-core-0.1.1.tgz","_from":"file:duytran7-landing-core-0.1.1.tgz","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-gWUDp4chBDjfjJSNT1a2zIwtNpZaZW7/B7J6ac7UwMOYpsGudT4CGBAPPiQ3G/clh930cplR8Lze8tYsx9sHuQ==","shasum":"006eaae88e9097a981aa2af01beabc39e0c20ebd","tarball":"https://registry.npmjs.org/@duytran7/landing-core/-/landing-core-0.1.1.tgz","fileCount":9,"unpackedSize":593115,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDSNxBh+SVpxuL8F+4U1KSWrvn3idww2GydrJZXAuYLFAIgMnnlHWc82SozeLT0xFuXkwv55JM5SaNr3SnGbgDP9W8="}]},"_npmUser":{"name":"tranduybthv","email":"tranduybthv@gmail.com"},"directories":{},"maintainers":[{"name":"tranduybthv","email":"tranduybthv@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/landing-core_0.1.1_1773075200337_0.4808076200777007"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-03T05:02:42.645Z","modified":"2026-03-09T16:53:20.623Z","0.1.0":"2026-03-03T05:02:42.888Z","0.1.1":"2026-03-09T16:53:20.492Z"},"bugs":{"url":"https://github.com/Tran-Duc-Duy/duytran7/issues"},"license":"MIT","homepage":"https://github.com/Tran-Duc-Duy/duytran7#readme","keywords":["landing","config","schema","zod","typescript"],"repository":{"type":"git","url":"git+https://github.com/Tran-Duc-Duy/duytran7.git","directory":"packages/core"},"description":"Types, Zod schema, parser and component registry for landing page JSON config. Framework-agnostic.","maintainers":[{"name":"tranduybthv","email":"tranduybthv@gmail.com"}],"readme":"# @duytran7/landing-core\n\nTypes, Zod schema, parser, and component registry for landing page JSON config. Framework-agnostic (no React).\n\n## Install\n\n```bash\npnpm add @duytran7/landing-core\n```\n\n## Exports\n\n- **Types:** `LandingConfig`, `LandingSection`, `LandingThemeConfig`, `SectionBase`, `SectionAnimation`, `SectionEffects`, and section types (`HeroSection`, `NavSection`, `NavMobileConfig`, `FeaturesSection`, `VideoEmbedSection`, `CountdownSection`, `TrustBadgesSection`, etc.).\n- **Schema:** `landingConfigSchema` (Zod) to validate JSON. Supports theme (`themeId`, `fontId`), section `animation` and `effects`, Nav `mobile`, Hero `background.videoOptions` / `lottieOptions`.\n- **Parser:** `parseLandingConfig(json)` or `parseLandingConfigStrict(json)`.\n- **Registry:** `componentRegistry`, `getComponentRegistryEntry(id)`, `getComponentRegistryJson()` for AI, tooling, and MCP.\n\n## Section types (registry)\n\nhero, nav, features, stats, logo-cloud, team, testimonials, pricing, faq, cta, newsletter, contact, gallery, banner, comparison, timeline, map, blog-grid, video-embed, countdown, trust-badges, footer.\n\nSee [monorepo docs](https://github.com/Tran-Duc-Duy/duytran7#readme), [docs/SCHEMA.md](../../docs/SCHEMA.md), and [docs/COMPONENTS.md](../../docs/COMPONENTS.md).\n","readmeFilename":"README.md"}