{"_id":"@croutonn/og-image-element","_rev":"2-54a18e7f8185f9b5838f4b017298975e","name":"@croutonn/og-image-element","dist-tags":{"latest":"0.2.4"},"versions":{"0.2.3":{"name":"@croutonn/og-image-element","version":"0.2.3","description":"Webcomponent og-image-element for generating Open Graph Images","author":{"name":"croutonn","email":"croutonna@gmail.com"},"license":"MIT","main":"dist/og-image-element.js","module":"dist/og-image-element.js","scripts":{"start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","test":"karma start --coverage","test:watch":"karma start --auto-watch=true --single-run=false","test:update-snapshots":"karma start --update-snapshots","test:prune-snapshots":"karma start --prune-snapshots","test:compatibility":"karma start --compatibility all --coverage","test:compatibility:watch":"karma start --compatibility all --auto-watch=true --single-run=false","test:bs":"karma start karma.bs.config.js --compatibility all --coverage","site:build":"npm run storybook:build","storybook":"start-storybook -p 9001","storybook:build":"build-storybook -o _site -s storybook-static","release":"npm run build && npm publish --access=public","build":"rimraf dist && rollup -c rollup.config.js","start:build":"es-dev-server --app-index dist/index.html --open"},"dependencies":{"lit-html":"^1.0.0","lit-element":"^2.0.1"},"devDependencies":{"@open-wc/building-rollup":"^0.9.29","@open-wc/demoing-storybook":"^0.3.0","@open-wc/eslint-config":"^1.0.0","@open-wc/prettier-config":"^0.1.10","@open-wc/testing":"^2.0.0","@open-wc/testing-karma":"^3.0.0","@open-wc/testing-karma-bs":"^1.0.0","es-dev-server":"^1.18.0","eslint":"^6.1.0","husky":"^1.0.0","lint-staged":"^8.0.0","rimraf":"^3.0.0","rollup":"^1.21.3","webpack-merge":"^4.1.5"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"]},"prettier":"@open-wc/prettier-config","husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint --fix","prettier --write","git add"]},"repository":{"type":"git","url":"https://github.com/BoyWithSilverWings/og-image-element"},"licenseText":"MIT License\n\nCopyright (c) 2019 og-image-element\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@croutonn/og-image-element@0.2.3","dist":{"shasum":"5fbd681f98453ce7c2b09d71827fec299b57e07c","integrity":"sha512-iZ3YN9IOevy8UV7bqeNhxcrX/mx8W1Yd2IdOKOkBxxu8D6lka2bGUn/M+drsawJayhBZcPaDwmLBFpW4K2syhA==","tarball":"https://registry.npmjs.org/@croutonn/og-image-element/-/og-image-element-0.2.3.tgz","fileCount":29,"unpackedSize":1421191,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqlRBCRA9TVsSAnZWagAAU00P/iWIbps4F+/utgOQtrZL\nxxiFgWb4fufEaBkNA+r/E2Kb1BncDe5uQ9ASyA9+ANXO6Xc6B2X/MZN4Uarm\nztoSJqfGCSKoezuhJQtsinBVnzXxjOErM3ONptDcA+ES+AyubPMDjhMGJX8m\nKSBtFP0etDdwP7umnzw3SIAegdXxvBSYFiQbrRaC3kD9NNoOU2SpVEYEgpNz\n7qq4XDoPu4tgMYdoFufYXbF7JhfHdUEESwGQmBpURCPPhb9IPuUPSyr9qJny\np9HcR1iMgVnayVZQQk7pXocBJcCkDPFUYrg1PCkv/uM2HtjQg7wRlt543JuE\nLm7HyF762cBR02QEixfpJxPj8dYGIoN1oBi5bo3YlnGihtNwh1IU9n2HQgta\nLJLPKOJFlwMBmU8zfvL5bI7xTLq/weu5rVXoyL1KcfjqWZy6ZWIQpFJNqfgc\nRyTtONPOgqt8wbSH0jao9PK7kXQ2/0xM4NEGelUjnwmXNh3ozWD/AV0EafSa\nsk44PCbuEEiyo5Fab/tDh/n7f6xL/Nx7fL04zWuD4QbHq6cML3rDXhOCtRqy\ngMvoxiZc43OoNfqi2nRMNdH6N6W/20JOQQ6acYhqCYulCaBBN8pqAHWe+uzj\nsdHTMSNMaR9cs7YShmczE7mOzpPRhOb/lL6RytwDXdSun9aRbLjcZL1GvFs+\n/eFg\r\n=6GO5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0u3N4PoYCqEkGsIiWFhWkf3/XItHLN03DoNWhn0d67wIgclzncZ451VBdHpuuVxyfzpbexpfJWROXfBbT9lCIrwU="}]},"_npmUser":{"name":"croutonn","email":"croutonna@gmail.com"},"directories":{},"maintainers":[{"name":"croutonn","email":"croutonna@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/og-image-element_0.2.3_1604998209306_0.3960491888430493"},"_hasShrinkwrap":false},"0.2.4":{"name":"@croutonn/og-image-element","version":"0.2.4","description":"Webcomponent og-image-element for generating Open Graph Images","author":{"name":"croutonn","email":"croutonna@gmail.com"},"license":"MIT","main":"dist/og-image-element.js","module":"dist/og-image-element.js","publishConfig":{"access":"public"},"scripts":{"start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","test":"karma start --coverage","test:watch":"karma start --auto-watch=true --single-run=false","test:update-snapshots":"karma start --update-snapshots","test:prune-snapshots":"karma start --prune-snapshots","test:compatibility":"karma start --compatibility all --coverage","test:compatibility:watch":"karma start --compatibility all --auto-watch=true --single-run=false","test:bs":"karma start karma.bs.config.js --compatibility all --coverage","site:build":"npm run storybook:build","storybook":"start-storybook -p 9001","storybook:build":"build-storybook -o _site -s storybook-static","release":"npm run build && npm publish --access=public","build":"rimraf dist && rollup -c rollup.config.js","start:build":"es-dev-server --app-index dist/index.html --open"},"dependencies":{"lit-html":"^1.0.0","lit-element":"^2.0.1"},"devDependencies":{"@open-wc/building-rollup":"^0.9.29","@open-wc/demoing-storybook":"^0.3.0","@open-wc/eslint-config":"^1.0.0","@open-wc/prettier-config":"^0.1.10","@open-wc/testing":"^2.0.0","@open-wc/testing-karma":"^3.0.0","@open-wc/testing-karma-bs":"^1.0.0","es-dev-server":"^1.18.0","eslint":"^6.1.0","husky":"^1.0.0","lint-staged":"^8.0.0","rimraf":"^3.0.0","rollup":"^1.21.3","webpack-merge":"^4.1.5"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"]},"prettier":"@open-wc/prettier-config","husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint --fix","prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/croutonn/og-image-element.git"},"gitHead":"543f5c1f0cd17dc2aa118876291d494652387966","bugs":{"url":"https://github.com/croutonn/og-image-element/issues"},"homepage":"https://github.com/croutonn/og-image-element#readme","_id":"@croutonn/og-image-element@0.2.4","_nodeVersion":"12.16.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Yi2sP4z/PWzF4gsny01YCts5HeW3MmpOna3olabp0atz99WCpV8RmvRXOStZ3FPWFcQrKlE2Z6uQtZzrMnev4g==","shasum":"653c1ae8bc052aaf175c72ea329f42187ec39fcd","tarball":"https://registry.npmjs.org/@croutonn/og-image-element/-/og-image-element-0.2.4.tgz","fileCount":20,"unpackedSize":783345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqt3SCRA9TVsSAnZWagAAZzsP/j1WL0cq6RHCxJSqZ91P\n5BZPJ4NYAfcvk14H8trpmEUq6BSmV7Jzw7t6TFwH4cN+ZgsFuwNkC9b3++jD\nhfBDmg18V2P1QqaULgLtu6DKd8VCsOKXamq/nLnN6XV1OnQX/VDQWQ3Yvfix\nWLcwIo7ws2s9olSVbfle274Tkr8YFX8LvQOUYFxrx9Ow97dZWaGi7tuO7AjT\nP0e6JWn1nAVLFKzE200QGk+jU5NToAd/IeKYqxSAGc8ElVpvohXe0BmalTan\n0zi8C3ZJC9MEhLEz2QWXEEZoRxhkRSiadC7GBZHhFfSLcYbHa6d/u2Bum3Ey\naDOP9LppHuEBLIufCh6zjk4T34FwAmLiZjissVs4uYAXmu5+eZsvBqQvuRGZ\nVQsxpx6qW2Mxg4yIQgiczveTLBhY6fo/CCQlClEUgjPCemIMUvmw+iI8cGcT\nQoTuqxgeG6WNtFaFnL6Dq8/x+iNAT6kpTmfEnhLuq9tvIAmE6TAmuBAlv8LU\nU1EiSYffw2O8NiL92H7e4Ijs1iBnwlSHHEiR38SHJedwnxGPETKWl47i2Xrz\npl4yOmjTVeMGCiXEC8TapFHWA/qR6gv9sDes2nb5oZuXqQ1aF6U2fQ6uG6Cw\nUgMpg9Ipb/Mzu1HIJYtn8xmz3dZIDeYKl1kqvcDLhcqgEtoAJ7B2vt1nDp88\n3+N1\r\n=QWRf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+OcxeAyTzfCA52SMzL5yM1rtKYL4XmqiJU7UK5dGXKQIhAJIf30MkwHzWeBaoEW6FgwGl6oatyq/Nig8ohIenP18L"}]},"_npmUser":{"name":"croutonn","email":"croutonna@gmail.com"},"directories":{},"maintainers":[{"name":"croutonn","email":"croutonna@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/og-image-element_0.2.4_1605033425744_0.0321553554296059"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-10T08:50:09.272Z","0.2.3":"2020-11-10T08:50:09.518Z","modified":"2022-04-05T01:53:01.763Z","0.2.4":"2020-11-10T18:37:05.979Z"},"maintainers":[{"name":"croutonn","email":"croutonna@gmail.com"}],"description":"Webcomponent og-image-element for generating Open Graph Images","repository":{"type":"git","url":"git+https://github.com/croutonn/og-image-element.git"},"author":{"name":"croutonn","email":"croutonna@gmail.com"},"license":"MIT","readme":"# \\<og-image-element>\n\nTo be used with [Open Graph Generator Image Action](https://github.com/BoyWithSilverWings/generate-og-image)\n\n![Screenshot](/demo/shot.png?raw=true \"Element Output Generated\")\n\nThis webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.\n\n## Installation\n```bash\nnpm i og-image-element\n```\n\n## Usage\n```html\n<script type=\"module\">\n  import 'og-image-element/og-image-element.js';\n</script>\n\n<og-image-element>\n  <div slot=\"title\">Title of the Post</div>\n  <img slot=\"image\" src=\"url to image\" />\n</og-image-element>\n```\n\nYou can customise styling with CSS variables:\n\n```css\nog-image-element {\n  --heading-font: 'Aleo', serif;\n  --background: #ffffff;\n  --font-color: #000000;\n  --font-size: 100%;\n}\n```\n\n## Testing using karma (if applied by author)\n```bash\nnpm run test\n```\n\n## Demoing using storybook (if applied by author)\n```bash\nnpm run storybook\n```\n\n## Linting\n```bash\nnpm run lint\n```\n","readmeFilename":"README.md","homepage":"https://github.com/croutonn/og-image-element#readme","bugs":{"url":"https://github.com/croutonn/og-image-element/issues"}}