{"name":"svelte-awesome","version":"2.3.1","description":"Font Awesome component for Svelte JS, using inline SVG","module":"dist/svelte-awesome.mjs","main":"dist/svelte-awesome.js","svelte":"components/Icon.svelte","repository":{"type":"git","url":"git+https://github.com/RobBrazier/svelte-awesome.git"},"author":{"name":"Rob Brazier"},"license":"MIT","scripts":{"build":"rollup -c","icons":"node build/generate-icons","start":"serve example/dist","example:watch":"rollup -c example/rollup.config.js -w","example:dev":"run-p start example:watch","example:build":"rollup -c example/rollup.config.js","lint":"eslint ./{example,src}/**/*.{html,js}","test":"npm run lint","changelog":"auto-changelog -p","gh-release":"is-ci && gh-release -y"},"keywords":["font-awesome","awesome","svelte","svg"],"dependencies":{"svelte":"^3.15.0"},"devDependencies":{"@fortawesome/free-regular-svg-icons":"^5.10.1","acorn":"^8.0.2","auto-changelog":"^2.0.0","babel-core":"^6.26.0","cassandra-map":"^0.1.7","change-case":"^4.0.0","eslint":"^7.2.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-html":"^6.0.0","eslint-plugin-import":"^2.8.0","font-awesome":"^4.7.0","gh-release":"^5.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","rollup":"^2.0.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-css-only":"^3.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-svelte":"^7.0.0","rollup-plugin-terser":"^7.0.2","serve":"^11.3.0","svgfont2js":"^0.1.2"},"gitHead":"09cdbeadd5cd45773809a597dea7cff210a21a7e","bugs":{"url":"https://github.com/RobBrazier/svelte-awesome/issues"},"homepage":"https://github.com/RobBrazier/svelte-awesome#readme","_id":"svelte-awesome@2.3.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"robbrazier","email":"npm@brzr.co"},"dist":{"integrity":"sha512-n+6u0hMTUHvDR+pBbVghEr7TxA1lLoTE3ZuySteDChNGxpW1GMjN2cm6sZ1yr+868HOzoSS529YG02YuwFpxbw==","shasum":"b69cc16048ac3da50afebfc134c71a1ed1bfead0","tarball":"http://registry-npm.ywwl.com/svelte-awesome/download/svelte-awesome-2.3.1.tgz","fileCount":799,"unpackedSize":639312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYhULCRA9TVsSAnZWagAAU+cP/1sGKOlcrd0336v2hc7n\noQ7kZXwqCC0pPBhjcTAJ78dS4eV7P730xzJo3zhR+eg6WClvkwtd8KkFcH/l\nHVAPkESU0bLUlosg2/HT+7+yNdpYksc+JOhdslUg1YHPm79A69jiMqy08Eyh\nNJyeao6wsVti5P5LWED1ZL71ft7LUBvJVwXzopQL5RYOYHrKwoS8NJ006aqU\nZgx2XAGTYZJhiwfZCDEc/QOlAz70W4YRpjUz/JQJZvT/WoOerHdxGRKQJoQB\nzdQF3DvTVf4jAmNwjTo4vxQXy4iqV2K4Hww8s2bobVj6JZotO8vEckSBH6j9\n6Qz5kMGXUPNGJj9AR1S1w+TZ5bY3ihYu+osNNxOaSiYjHRKps8GZscpWudCp\nEx5m269gxmMFr03rDTbw7bH8arb3AweHlGGar/wRTr+bjD40zEt9vilWxmcd\nye6xQXK7/Pc63JEFocEapS6I2cBkZKqDe0d97c2tTpir5bqHVOaQI64MjwIS\nFyY7g13gfU7h3F5ZtE/KurzGbZmB8udqAdXkA1XwbKyPvVEgtMKkZ8C4TAcj\nqgkN2nT5xOgEp739XcyxJJvHlXzaMVK9SQq13HRXcJxbz+KfHNiMXPOk1nft\nJKdABz4OfMpM5oHzNNdtEz1elNPg1T7+auCzpi75bs9sOsEA0VC+jLO06GeQ\ngmld\r\n=pRoI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOsZvKAHd4FdMy6dxmWCIR4X0qh5G3lm/7kiJdE9NNzAiEAlkxD0ZJAJZFSf4mDvMaE9cqvBaGAX0Ts3hq9y3VkgqU="}],"size":203213,"noattachment":false,"key":"/svelte-awesome/-/svelte-awesome-2.3.1.tgz"},"directories":{},"maintainers":[{"name":"robbrazier","email":"npm@brzr.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-awesome_2.3.1_1617040650411_0.9652332243039685"},"_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":1617040650625,"_cnpm_publish_time":1617040650625,"dist-tags":{"latest":"3.3.5"}}