{"_id":"@astropub/contentful","name":"@astropub/contentful","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"$schema":"https://json.schemastore.org/package.json","name":"@astropub/contentful","description":"Use Contentful in Astro","version":"0.1.0","type":"module","license":"CC0-1.0","exports":{".":{"default":"./astro-contentful.js","types":"./astro-contentful.d.ts"},"./astro-contentful":{"default":"./astro-contentful.js","types":"./astro-contentful.d.ts"},"./global":{"types":"./global.d.ts"},"./package":"./package.json","./package.json":"./package.json"},"main":"astro-contentful.js","types":"astro-contentful.d.ts","unpkg":"astro-contentful.js","jsdelivr":"astro-contentful.js","sideEffects":false,"keywords":["astro","astro-component","ui","perf","performance","content","contentful"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"bugs":{"url":"https://github.com/astro-community/contentful/issues"},"homepage":"https://github.com/astro-community/contentful","repository":{"type":"git","url":"git+https://github.com/astro-community/contentful.git"},"gitHead":"92085d85246a77bb3ac0f1c6c5d55b7710c7ee2e","_id":"@astropub/contentful@0.1.0","_nodeVersion":"18.4.0","_npmVersion":"8.12.1","dist":{"integrity":"sha512-6NeE0CC/gU81oWCOLRoGFcclbC3EwrK2N6FQOzc5ulWw0E/OMpbZer9LcT8/VqogzUaFGc7eUX8Z00hbXmddsw==","shasum":"9eccb2879139b43bfde5448111dd14a7acbff75a","tarball":"https://registry.npmjs.org/@astropub/contentful/-/contentful-0.1.0.tgz","fileCount":14,"unpackedSize":751027,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC2+G8NuhfcH8Je82Eww6sCIICZDO8S1MwVK/pia960JAiBasomoNjlJVyFft3RV0GC2YYkviJqzO4QeHBe3mPstMA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBp/IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr49A//dZUoEvt3OG0XyTOghNHu7hP9ONcmdv7tzhRDZJnAtBQG+6xz\r\nwEoPE9D9igO7PjaxuzZOjPuIOwl6KrfHoJVq/wWTeA7Yb7tloQy5W+4cV9gX\r\nRbD9RkeNzCxRqpTbcVTW7Iblv9ibdcWRhLJFcp8BSyoUYYl/1HSVYBhuuft0\r\nXG6EDO0U9XvpNGe8/8v4ADbKCXKqR4rIlwDcjoxIdjVb+gVGInWeFr7MSUel\r\n7c0d2KLHhviOSemqGlXFnKNSRodHbTfrAQUQlSZ1Y077Xz/VIN7UgWL3Rqnt\r\nwPJLLzMTIYZL0+CKcL3gebIL3g63BzQuIBEH3NVp6VVlb6Do6ulkyZiiBXIh\r\n1CYOvos01MocmO2dnJ/ewN/H365yh4NWYwPQGEMLOvyyKL+/CSq4zgkV+OtP\r\np7XA1XtbBJ1LyN0myYWETBJNPb5BrCKznQ3gX22do50dZkcZMLCdRoqkA/D2\r\nzmu44K0LR4ReJCtuwOuUmu5EI7EKmOLXyMn/O6N57uW8P1rsnL+KTLzCzj/W\r\n9wL7629JhY2M7hEWehXPtXT2lKaIgj9F8rB+iFBxtOGv/L0H3jJ2PMDpAg1F\r\nn9lChI3RNp9Q/5ZMl4r/hvgbizmRkGVOVOC3ttCaFWREZGfqUMLGzr7DuujB\r\nZyYymV8+WuOdGF9RUMspYJuJIdCqzsC5Ue8=\r\n=BAy8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/contentful_0.1.0_1661378503883_0.46705495128979235"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-24T22:01:43.796Z","0.1.0":"2022-08-24T22:01:44.063Z","modified":"2022-08-24T22:01:44.313Z"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"description":"Use Contentful in Astro","homepage":"https://github.com/astro-community/contentful","keywords":["astro","astro-component","ui","perf","performance","content","contentful"],"repository":{"type":"git","url":"git+https://github.com/astro-community/contentful.git"},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"bugs":{"url":"https://github.com/astro-community/contentful/issues"},"license":"CC0-1.0","readme":"# Astro Contentful\n\n**Astro Contentful** lets you use **Contentful** in [Astro](https://astro.build).\n\n[![NPM Version][npm-img]][npm-url]\n[![Open in StackBlitz][stackblitz-img]][stackblitz-url]\n\n```astro\n---\nimport Entry from '@astropub/contentful:entries/t1h1x38!astro'\n---\n<h1>\n  <Entry of=\"title\" />\n</h1>\n\n<Entry of=\"content\">\n  <p>Fallback content.</p>\n</Entry>\n```\n\n```astro\n---\nimport EntryList from '@astropub/contentful:entries?content_type=blog!astro'\n---\n<EntryList>{\n  Entry => (\n    <h1>\n      <Entry of=\"title\" />\n    </h1>\n\n    <Entry of=\"content\">\n      <p>Fallback content.</p>\n    </Entry>\n  )\n}</EntryList>\n```\n\n## Usage\n\nInstall **Astro Contentful** to your project.\n\n```shell\nnpm install @astropub/contentful\n```\n\nUse **Astro Contentful** components in your project.\n\n```astro\n---\n// data\nimport entry from '@astropub/contentful:entries/t1h1x38'\nimport entryList from '@astropub/contentful:entries'\nimport oneEntryList from '@astropub/contentful:entries?content_type=blog'\n\n// components\nimport Entry from '@astropub/contentful:entries/t1h1x38!astro'\nimport EntryList from '@astropub/contentful:entries!astro'\nimport oneEntryList from '@astropub/contentful:entries?content_type=blog!astro'\n---\n```\n\nEnjoy!\n\n[npm-img]: https://img.shields.io/npm/v/@astropub/contentful?color=%23444&label=&labelColor=%23CB0000&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjE1MCAxNTAgNDAwIDQwMCIgZmlsbD0iI0ZGRiI+PHBhdGggZD0iTTE1MCA1NTBoMjAwVjI1MGgxMDB2MzAwaDEwMFYxNTBIMTUweiIvPjwvc3ZnPg==&style=for-the-badge\n[npm-url]: https://www.npmjs.com/package/@astropub/contentful\n[stackblitz-img]: https://img.shields.io/badge/-Open%20in%20Stackblitz-%231374EF?color=%23444&labelColor=%231374EF&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjEwIDggMTIgMTgiIGhlaWdodD0iMTgiIGZpbGw9IiNGRkYiPjxwYXRoIGQ9Ik0xMCAxNy42aDUuMmwtMyA3LjRMMjIgMTQuNGgtNS4ybDMtNy40TDEwIDE3LjZaIi8+PC9zdmc+&style=for-the-badge\n[stackblitz-url]: https://stackblitz.com/github/astro-community/contentful\n","readmeFilename":"README.md"}