{"name":"svelte-awesome","version":"2.4.5","description":"Font Awesome component for Svelte JS, using inline SVG","type":"module","repository":{"type":"git","url":"git+https://github.com/RobBrazier/svelte-awesome.git"},"author":{"name":"Rob Brazier"},"license":"MIT","scripts":{"dev":"svelte-kit dev","build":"svelte-kit build","package":"svelte-kit sync && svelte-kit package","preview":"svelte-kit preview","icons":"node .semaphore/generate-icons","lint":"eslint ./src/**/*.{svelte,js}","test":"npm run lint","changelog":"auto-changelog -p && git add CHANGELOG.md","gh-release":"is-ci && gh-release -y","version:major":"release-it major --ci","version:minor":"release-it minor --ci","version:patch":"release-it patch --ci"},"keywords":["font-awesome","awesome","svelte","svg"],"devDependencies":{"@fortawesome/free-regular-svg-icons":"^5.10.1","@sveltejs/adapter-static":"^1.0.0-next.26","@sveltejs/kit":"^1.0.0-next.240","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","acorn":"^8.0.2","auto-changelog":"^2.0.0","cassandra-map":"^0.1.7","change-case":"^4.0.0","eslint":"^8.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-svelte3":"^3.2.1","font-awesome":"^4.7.0","gh-release":"^6.0.0","graceful-fs":"^4.1.11","is-ci":"^3.0.0","lodash":"^4.17.5","npm-run-all":"^4.1.3","patch-module":"^0.1.0","prettier":"^2.4.1","prettier-plugin-svelte":"^2.4.0","release-it":"^14.12.5","svelte":"^3.46.2","svelte-check":"^2.2.6","svelte-highlight":"^5.1.2","svelte-preprocess":"^4.9.4","svelte2tsx":"^0.5.1","svgfont2js":"^0.1.2","tslib":"^2.3.1","typescript":"^4.4.3"},"peerDependencies":{"svelte":"^3.43.1"},"gitHead":"3d92810cf9646db49573d12e879b188da86ca7c8","bugs":{"url":"https://github.com/RobBrazier/svelte-awesome/issues"},"homepage":"https://github.com/RobBrazier/svelte-awesome#readme","_id":"svelte-awesome@2.4.5","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-BjYcNyW50sjIbmuKvTNfw1OFcT08VrGDygzQR+yKQOhPIfDNgyeyjxi/TU9zU/uCkIJmdebSdLdWLV7uuudk0w==","shasum":"a2bfc9f74650b80fcd666719bdafb2da7b00ba79","tarball":"http://registry-npm.ywwl.com/svelte-awesome/download/svelte-awesome-2.4.5.tgz","fileCount":1596,"unpackedSize":801561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiK9VHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCVw//Xwkyti2H+0SK5rPFIMROGHiku0VK7OEpe9EBUWjMSgWgG91C\r\nQ0VrsOUMmm3jsM56nbAUYGIhN/FtPtHBC2Sj6joxk3dOTjL9ZcWW4lN8Llq4\r\neg9wMuGcSzfBUj7Tm26phzQ5Tt77lAa3UEuGqwXWTxgZIlJ9dtyZE+SkHeGm\r\ngT+7LdVhoFDlNUuQS/Cbmx27pJe/tRdXHo9Trr43vOThLfxfxqirF90DApyG\r\nEVhYZhD/PYQAjaHIlUwmNPU2qm4Ww7bXyBcH+E1FNMh34LWTTZA6DxUE4gFL\r\nJoEbO1okdr480kwm4cCbdolOvPAlEVfkYsR+vkf4r7W2FS003qXaYL5Ms7yo\r\nTp/o4betaPGT7J3J5ARCxO8keyOyzAn07w/AvYXneH416s8iknPU97hKjqgb\r\nivXByLCPhx5EPp7VoV9xVKyqIXI+/Bc1frAnD/mFCrjoJ4tpO6GC8WsKuHxD\r\nS30AQaX+aLvqXt166VJYfSfwlVy3/FgppuvHd2kaiY/j97HKMwuqArxajSWt\r\nVlgk/RJQkoukajCpiUjPUxznw1Zurg2fcrU7+4EVLJLkUGDSC53EMRxTl5rb\r\n5oEfpRGtFavuG0fWuqf9fpfkXlcHNeLQgZHQScFAIX4ninrmy4ZLDWJWtkY9\r\nchdzRoUSGMjv0Ob5MTFtl3P5yvYBih1hMzs=\r\n=k22u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrkOrw2O9lIV2iL4XjWBqEdZVEuogF9q3FVLfJSRDUgwIhALWtEnQ/2jZdfsTQBTsRQFWxs8pmO2cvBUpx8ZI3Hqgu"}],"size":223495,"noattachment":false,"key":"/svelte-awesome/-/svelte-awesome-2.4.5.tgz"},"_npmUser":{"name":"robbrazier","email":"npm@brzr.co"},"directories":{},"maintainers":[{"name":"robbrazier","email":"npm@brzr.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-awesome_2.4.5_1647039815505_0.059745887179841084"},"_hasShrinkwrap":false,"readme":"# Svelte-Awesome\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/RobBrazier/svelte-awesome/build.yaml?style=flat-square&branch=master)](https://github.com/RobBrazier/svelte-awesome/actions)\n[![Codacy grade](https://img.shields.io/codacy/grade/5543afb1136e45e2b7bae46332f94d60?style=flat-square)](https://app.codacy.com/gh/RobBrazier/svelte-awesome/dashboard)\n[![npm](https://img.shields.io/npm/v/svelte-awesome.svg?style=flat-square)](https://www.npmjs.com/package/svelte-awesome)\n[![bundlephobia](https://img.shields.io/bundlephobia/minzip/svelte-awesome?style=flat-square)](https://bundlephobia.com/result?p=svelte-awesome)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n> Awesome SVG icon component for Svelte JS, built with Font Awesome icons.\n> Based on [Justineo/vue-awesome][vue-awesome]\n\nSvelte-Awesome supports [Font-Awesome][font-awesome] `v4.7.0` (icons inbuilt)\nand `v5`/`v6` (via [`@fortawesome` npm packages][fortawesome-icons])\n\nA demo is available [here][demo]\n\nA list of all available embedded icons is available [here][icons]\n\n## Installation\n\n### NPM\n\n```bash\nnpm install --save svelte-awesome\n```\n\n## Usage\n\n```html\n<!-- basic -->\n<Icon data=\"{beer}\" />\n<!-- codeFork is camelCase, unlike the js file, code-fork.js -->\n<Icon data=\"{codeFork}\" />\n\n<!-- with options -->\n<Icon data=\"{refresh}\" scale=\"2\" />\n<Icon data=\"{comment}\" flip=\"horizontal\" />\n<Icon data=\"{codeFork}\" label=\"Forked Repository\" />\n\n<!-- stacked icons [WIP] -->\n<Icon label=\"No Photos\">\n  <Icon data=\"{camera}\" />\n  <Icon name=\"{ban}\" scale=\"2\" class=\"alert\" />\n</Icon>\n\n<!-- FontAwesome v5 and v6 Icons supported -->\n<Icon data=\"{faThumbsUp}\" />\n\n<script>\n  import Icon from 'svelte-awesome';\n\n  /// *** Embedded Icons ***\n  // Recommended - import just the icon you need\n  import beer from 'svelte-awesome/icons/beer';\n  import refresh from 'svelte-awesome/icons/refresh';\n  import codeFork from 'svelte-awesome/icons/codeFork';\n  import camera from 'svelte-awesome/icons/camera';\n  import ban from 'svelte-awesome/icons/ban';\n  // Not recommended as it will download all of the icons in dev mode\n  import { ban } from 'svelte-awesome/icons';\n\n  // EDGECASE ICONS - different names due to reserved names / starting with numbers\n  import fa500px from 'svelte-awesome/icons/fa500px'; // '500px' icon\n  import faTry from 'svelte-awesome/icons/faTry'; // 'try' icon\n\n  /// *** @fortawesome/* Icons ***\n  // Recommended - import the individual icon a little like with the recommended embedded icons approach above\n  import { faThumbsUp } from '@fortawesome/free-regular-svg-icons/faThumbsUp';\n  // Not Recommended - import the individual icon from the main file - it will download all of the icons in dev mode\n  import { faThumbsUp } from '@fortawesome/free-regular-svg-icons';\n</script>\n```\n\n## Sapper Usage\n\nFor Sapper, you may need to import the Icon component explicitly as below:\n\n```javascript\nimport Icon from 'svelte-awesome/components/Icon.svelte';\n```\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=robbrazier/svelte-awesome)](https://github.com/RobBrazier/svelte-awesome/graphs/contributors)\n\n[vue-awesome]: https://github.com/Justineo/vue-awesome\n[font-awesome]: https://github.com/FortAwesome/Font-Awesome\n[demo]: https://robbrazier.github.io/svelte-awesome\n[icons]: https://robbrazier.github.io/svelte-awesome/icons\n[fortawesome-icons]: https://www.npmjs.com/search?q=%40fortawesome%20icons\n","publish_time":1647039815654,"_cnpm_publish_time":1647039815654,"dist-tags":{"latest":"3.3.5"}}