{"_id":"@davatron5000/fit-vids","name":"@davatron5000/fit-vids","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@davatron5000/fit-vids","version":"1.0.0","description":"Web Component version of FitVids from the maker of FitVids","main":"fit-vids.js","scripts":{"start":"npx http-server .","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/davatron5000/fit-vids.git"},"keywords":["web","components","video","embeds"],"author":"","license":"Apache-2.0","bugs":{"url":"https://github.com/davatron5000/fit-vids/issues"},"homepage":"https://github.com/davatron5000/fit-vids#readme","gitHead":"a4621c1985c28cfba816735d23dbd31873bf4012","_id":"@davatron5000/fit-vids@1.0.0","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"integrity":"sha512-9G/XWEgUl39DHDBxtawoiZHb+euQeYvC54ig/lwTGrZMqXqS/hqZEgO4hNYXw9AE7E3wcS5Qz8frmWUtl290/w==","shasum":"1f3dc2896b8c49e3e3a2d8cd44da0ccdffbc2499","tarball":"https://registry.npmjs.org/@davatron5000/fit-vids/-/fit-vids-1.0.0.tgz","fileCount":5,"unpackedSize":14399,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlP+GRdzyX2AufQY/uyqwWXbSWAQE45nTgd9pVCMcS3AiEAu5zFY/piKXcpggfvmFPYiCtqJbCr7P6dxq/82D136+I="}]},"_npmUser":{"name":"davatron5000","email":"rupato@gmail.com"},"directories":{},"maintainers":[{"name":"davatron5000","email":"rupato@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fit-vids_1.0.0_1697247318056_0.7098094958509962"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-14T01:35:17.940Z","1.0.0":"2023-10-14T01:35:18.266Z","modified":"2023-10-14T01:35:18.570Z"},"maintainers":[{"name":"davatron5000","email":"rupato@gmail.com"}],"description":"Web Component version of FitVids from the maker of FitVids","homepage":"https://github.com/davatron5000/fit-vids#readme","keywords":["web","components","video","embeds"],"repository":{"type":"git","url":"git+https://github.com/davatron5000/fit-vids.git"},"bugs":{"url":"https://github.com/davatron5000/fit-vids/issues"},"license":"Apache-2.0","readme":"# fit-vids\nWeb Component version of FitVids from the creator of FitVids. This will make your video embeds squishy when you wrap them in a wonderfully namespaced custom element.\n\n## Features\n\nSupported video vendors:\n\n- [x] YouTube\n- [x] Vimeo\n\nIt's also v smol:\n\n|  | Bytes |\n|---|---|\n|Size         | 727 bytes |\n| Gzipped      | 419 bytes |\n\n## Usage\n\nImport the custom element and wrap your videos.\n\n```html\n<!-- import custom element -->\n<script type=\"module\" src=\"fit-vids.js\"></script>\n\n<!-- wrap embeds in fit-vids custom element -->\n<fit-vids>\n  <iframe src=\"http://youtube.com?v=123\"></iframe>\n</fit-vids>\n```\n\n## Roadmap/Todo\n\n- [ ] Allow more/custom sources? (e.g. tiktok, etc)\n- [ ] Prop to disable default `width: 100%`? Or set width/max-width to `video.width` by default?\n- [ ] ShadowDOM?\n\n## Acknowledgements\n\n- This is all @zachleat's fault ([source](https://elk.zone/mastodon.social/@zachleat@zachleat.com/111217846361544297))\n","readmeFilename":"README.md"}