{"_id":"hero-icon-js","_rev":"1-a56946daf5c080e7e2d516a87169bb81","name":"hero-icon-js","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"hero-icon-js","version":"1.0.1","description":"Javascript custom element version from heroicons","repository":{"type":"git","url":"https://github.com/jarstone/hero-icon-js.git"},"author":{"name":"jarstone","email":"jarstone.official@gmail.com"},"license":"MIT","keywords":["heroicon","hero","icon"],"scripts":{"build":"node ./scripts/build.js"},"devDependencies":{"heroicons":"^1.0.1","js-beautify":"^1.13.13","terser":"^5.6.1"},"licenseText":"MIT License\n\nCopyright (c) 2021 jarstone\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.\n","_id":"hero-icon-js@1.0.1","dist":{"shasum":"6920261d98c8266917260daa8255b152b7102e84","integrity":"sha512-usGG3gWduNbw5kse6yJ7ZHvdQ84F/WPkJ6iwgKtjq4Tz/+znFsYzr9DCVkplDHbk0CyjhYhdX0pdesn4WpRCYw==","tarball":"https://registry.npmjs.org/hero-icon-js/-/hero-icon-js-1.0.1.tgz","fileCount":8,"unpackedSize":232833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggRwKCRA9TVsSAnZWagAA4voP/1lmTaco9gk/fG/1Fb8B\nm2XoGa6tryQV8JrzjDlmkK/9cLUEf1Nps06b+mgVZJZtb26KdgbRfQLYWG/0\nffeWhl2P8VZNCnr0u31JP6E6a7fqioDiD5G/gu9QBLjWw50akfqVyG0D7byX\nFOZHS1lcvPvfzVtsjU8oRu5DQzX6HcSaOitEPxrfaytzYes8pRPWEDs4KqsA\nHpptIqPRrDSHOKFlrlSSMR2JMc7C2KhwoLeoyz9+c6LqGrt2XAqMDrNvQQ4W\nEouk8sA41e5XHJ9UtpTONtfHDpMhiBF6us1nP4G4d9Wr6U2pDCTt5apmj2Ih\nJHFr/A6pkdm4CqBx3PdVRqTgZ8V76mpPdR23WuhThUkw1wqh3+TQ3wlsirSh\nGypj2dIsTnlZKNC/4FQhouGdvwBNpImHKXnJpe8iDUneKgHLPwm7Xoy7002c\n8miOtZmbNMu26BO1IpRU65jKlRFvHr0reW03Yc/1J7v+mfzzjTfgkWO/0YuW\nsHIVUgbnMdnGIgZSTstU2IUyCqO7o3JwgfhxOyU5ljs9cUY0tZYfLK/mUmpu\nWeCpyH1h7s5IIysfk4c+2vlspZdvZN47Wv2Hbx5DY2+aAt/XgeohbhSr5Kk5\n6mA1NcT70rbWkNMWqxC0ATciruegLk/dygJqDlg/4BLtEnLBRS/K6rmYIPND\nDTqQ\r\n=tW/v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRoo1LFQKpjmuiwM8FBXHi8Xwe206jL36UENxtEKTh7gIgaEcdxUk0pl2HNt0STxNP8j1A+XTdYA22o3tgt9J6zNY="}]},"_npmUser":{"name":"jarstone","email":"jarstone.official@gmail.com"},"directories":{},"maintainers":[{"name":"jarstone","email":"jarstone.official@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hero-icon-js_1.0.1_1619074057668_0.0008455702611387395"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-22T06:47:37.621Z","1.0.1":"2021-04-22T06:47:37.794Z","modified":"2022-05-04T22:19:30.593Z"},"maintainers":[{"name":"jarstone","email":"jarstone.official@gmail.com"}],"description":"Javascript custom element version from heroicons","keywords":["heroicon","hero","icon"],"repository":{"type":"git","url":"https://github.com/jarstone/hero-icon-js.git"},"author":{"name":"jarstone","email":"jarstone.official@gmail.com"},"license":"MIT","readme":"# hero-icon-js\nJavascript custom element version from heroicons https://heroicons.com/\n\n# Usage\n## 1. install\n> Note: If you intend to use hero-icon-js with a CDN, you can skip this installation step.\n```\nnpm install hero-icon-js\n```\nOr just copy\\\n`hero-icon-outline.js` or `hero-icon-outline.min.js` for `outline` variant\\\nand\\\n`hero-icon-solid.js` or `hero-icon-solid.min.js` for `solid` variant.\n\n## 2. Include\nInclude `hero-icon-outline.js` or `hero-icon-outline.min.js` for `outline` variant or\\\nInclude `hero-icon-solid.js` or `hero-icon-solid.min.js` for `solid` variant.\n```html\n<script src=\"path/to/hero-icon-outline.js\"></script>\n<script src=\"path/to/hero-icon-solid.js\"></script>\n```\nOr load the script from a CDN provider:\n```html\n<script src=\"https://unpkg.com/hero-icon-js/hero-icon-outline.js\"></script>\n<script src=\"https://unpkg.com/hero-icon-js/hero-icon-solid.js\"></script>\n```\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/hero-icon-js/hero-icon-outline.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/hero-icon-js/hero-icon-solid.js\"></script>\n```\n\n## 3. Use\nTo use an icon on your page, add a `name` attribute with the icon name to an element:\n```html\n<hero-icon-outline name=\"check-circle\"></hero-icon-outline>\n<hero-icon-solid name=\"check-circle\"></hero-icon-solid>\n```\n> See the complete list of icons at https://heroicons.com/\n\nYou can also add other attributes. Allowed attributes: `width`, `height`, `class`.\n```html\n<hero-icon-outline name=\"check-circle\" width=\"48\" height=\"48\" class=\"text-success\"></hero-icon-outline>\n<hero-icon-solid name=\"check-circle\" width=\"40\" height=\"40\" class=\"text-success\"></hero-icon-solid>\n```\nAll `hero-icon` elements will be replaced with SVG markup corresponding to their `name` attribute value.\n","readmeFilename":"README.md"}