{"_id":"@delvforge/aspect-ratio","name":"@delvforge/aspect-ratio","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@delvforge/aspect-ratio","version":"1.0.0","description":"A DelvForge plugin for creating fixed aspect ratio elements.","license":"MIT","main":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/digidelv/delvforge.git","directory":"packages/@delvforge-aspect-ratio"},"bugs":{"url":"https://github.com/digidelv/delvforge/issues"},"homepage":"https://github.com/digidelv/delvforge-aspect-ratio","scripts":{"lint":"tsc --noEmit","build":"tsup-node","dev":"pnpm run build -- --watch"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"publishConfig":{"provenance":true,"access":"public"},"peerDependencies":{"delvforge":">=2.0.0"},"devDependencies":{"delvforge":"workspace:*"},"_id":"@delvforge/aspect-ratio@1.0.0","gitHead":"19b6febbd264e40a7663fabee60db0f3f2b65480","_nodeVersion":"22.18.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-iOd9fueICDPlToid+Z4mhUWRs0Ocs5M6+eUKUeeP08p/8IVqt5PrOFYbWyn3wPz0SgknhsJsNVTlX01E+QrBvg==","shasum":"db3b7972c09bf62772c88d1dc8838633cb05655d","tarball":"https://registry.npmjs.org/@delvforge/aspect-ratio/-/aspect-ratio-1.0.0.tgz","fileCount":6,"unpackedSize":10407,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCJ+HQsvXQs2Cn3e9LAClwMYIGWmS2L5rOgvesjKG+F9AIgfSCsmiw1UZZoHB5eCcR1ACb7/auQiYZnhjSevH9B0+k="}]},"_npmUser":{"name":"digidelve","email":"digitaldelv@gmail.com"},"directories":{},"maintainers":[{"name":"digidelve","email":"digitaldelv@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aspect-ratio_1.0.0_1763495739667_0.864166600882277"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-18T19:55:39.560Z","1.0.0":"2025-11-18T19:55:39.862Z","modified":"2025-11-18T19:55:40.208Z"},"maintainers":[{"name":"digidelve","email":"digitaldelv@gmail.com"}],"description":"A DelvForge plugin for creating fixed aspect ratio elements.","homepage":"https://github.com/digidelv/delvforge-aspect-ratio","repository":{"type":"git","url":"git+https://github.com/digidelv/delvforge.git","directory":"packages/@delvforge-aspect-ratio"},"bugs":{"url":"https://github.com/digidelv/delvforge/issues"},"license":"MIT","readme":"# @delvforge/aspect-ratio\n\nA DelvForge plugin for creating fixed aspect ratio elements.\n\n## Installation\n\n```bash\nnpm install -D @delvforge/aspect-ratio\n```\n\n## Usage\n\nAdd the plugin to your `delvforge.config.js` file:\n\n```js\nmodule.exports = {\n  plugins: [\n    require('@delvforge/aspect-ratio'),\n  ],\n}\n```\n\n## Examples\n\nUse the `aspect-w-{n}` and `aspect-h-{n}` utilities to create elements with fixed aspect ratios:\n\n```html\n<div class=\"aspect-w-16 aspect-h-9\">\n  <iframe src=\"https://www.youtube.com/embed/...\" frameborder=\"0\" allowfullscreen></iframe>\n</div>\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-fa8cddd2e29338b9cd2813b59e98b8da"}