{"versions":{"0.0.1":{"name":"amap-weather-icons","version":"0.0.1","description":"高德天气现象图标组件","main":"index.js","keywords":["高德地图","天气查询","图标","amap","weather","icons"],"author":{"name":"Rofix"},"license":"MIT","_id":"amap-weather-icons@0.0.1","gitHead":"a30a12cb21de05f6b19906b1b60d41e58940a3fa","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-yJsFm8M3TTveaidhy/nVHynTYQyO//kKPMMmf/yr2XACrmV8qd1vv9vGW0W/ldLlHavBAEQHC3rr0mF58hM8Kg==","shasum":"b5a168667a8156b45170e11f02cac0f9bc3871a0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/amap-weather-icons/-/amap-weather-icons-0.0.1.tgz","fileCount":72,"unpackedSize":187518,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3VcYWgBMf3uh/V4bc7J+AyCXD40OCdGUtbumNxkc6PAiEA5kbkENj0vp34+lTP6Wb7LipyVwFp/olUKcudFMCA76g="}],"size":39217},"_npmUser":{"name":"anonymous","email":"frankiewb9527@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/amap-weather-icons_0.0.1_1719034608567_0.34457816759481097"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-22T05:36:48.753Z","publish_time":1719034608753,"_source_registry_name":"default","contributors":[]},"0.0.2":{"name":"amap-weather-icons","version":"0.0.2","description":"高德天气现象图标组件","main":"index.js","keywords":["高德地图","天气查询","图标","amap","weather","icons"],"author":{"name":"Rofix"},"license":"MIT","_id":"amap-weather-icons@0.0.2","gitHead":"0ad378d76bedf9dd3a9e071f8c742a30a10928fe","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-hDajxhzyfTbnqeEp5RhCsCADAq4NeD0lfxKizqxiXZqd2zhMl1zqmnXCPJfUDuYgQqpJrKH+SjRRhnKcy3Qo7g==","shasum":"4d79879094140bc9113402e6cedbf1ff87115982","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/amap-weather-icons/-/amap-weather-icons-0.0.2.tgz","fileCount":5,"unpackedSize":188234,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDNBh8P0lXVEaI4zOzHdEhirX3dj+bdCqVIO9FprIyEoAiA+gz9vP1XBpu7wqrp9DIwv2N8MzbgGq0pcgdJgs9jphQ=="}],"size":31277},"_npmUser":{"name":"anonymous","email":"frankiewb9527@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/amap-weather-icons_0.0.2_1719291525077_0.5333103265250867"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-25T04:58:45.247Z","publish_time":1719291525247,"_source_registry_name":"default","contributors":[]},"0.0.3":{"name":"amap-weather-icons","version":"0.0.3","description":"高德天气现象图标组件","main":"index.js","keywords":["高德地图","天气查询","图标","amap","weather","icons"],"author":{"name":"Rofix"},"license":"MIT","_id":"amap-weather-icons@0.0.3","gitHead":"0faaac374140898806b874ceb6431586a5406254","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-DX864lyVyqwJa55spCxGbvBtIuS6TPwrSmmM4iDMUe4GuLyeHcowVKw1IfddpkTGIHM3JRkpeY4oy1AItB8MEQ==","shasum":"de22fd05ac80b0b5d5a0fb159070a23baafc2cea","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/amap-weather-icons/-/amap-weather-icons-0.0.3.tgz","fileCount":4,"unpackedSize":187218,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbiwnYvVIk2anGp+Id186ksxoRSyHwWzurpV6/DdOSxAiBdYT//v/3HSSSF+96r6GSyX3p6BZv7kbqtepJmge6RtQ=="}],"size":30589},"_npmUser":{"name":"anonymous","email":"frankiewb9527@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/amap-weather-icons_0.0.3_1719795811597_0.27578137757399834"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-01T01:03:31.761Z","publish_time":1719795811761,"_source_registry_name":"default","contributors":[]},"0.0.4":{"name":"amap-weather-icons","version":"0.0.4","keywords":["高德地图","天气查询","图标","amap","weather","icons"],"author":{"name":"Rofix"},"license":"MIT","_id":"amap-weather-icons@0.0.4","maintainers":[{"name":"anonymous","email":"frankiewb9527@gmail.com"}],"dist":{"shasum":"70b759c27f59b6b237ec9ce55b388fd2c1ad74a7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/amap-weather-icons/-/amap-weather-icons-0.0.4.tgz","fileCount":74,"integrity":"sha512-r+B0jCMJOrOjprpnayTe8HOw7qVKIUOg820AKHTHCEIBfDruZPs5Z4iMND5DLh0KsUjLx15CwIT3yeF0i+q62Q==","signatures":[{"sig":"MEQCIAvKiBd0cVb3AdQdYefyEP8OqykgP4ezLPwmqK0S1H02AiBPk+JsXA1xenxqn4d9uPqzlrrPGJ6tmuCdAO4h1Y0rWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3619048,"size":1161181},"main":"output/index.js","type":"module","gitHead":"dbca265e03a51ffff803982a49d99a9ee0ef187c","scripts":{"build":"rollup --config"},"_npmUser":{"name":"anonymous","email":"frankiewb9527@gmail.com"},"_npmVersion":"10.2.4","description":"高德天气现象图标组件","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.18.0","@rollup/plugin-image":"^3.0.3","@rollup/plugin-terser":"^0.4.4"},"_npmOperationalInternal":{"tmp":"tmp/amap-weather-icons_0.0.4_1720063905805_0.5561220205448973","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-07-04T03:31:46.019Z","publish_time":1720063906019,"_source_registry_name":"default","contributors":[]},"0.0.5":{"name":"amap-weather-icons","version":"0.0.5","keywords":["高德地图","天气查询","图标","amap","weather","icons"],"author":{"name":"Rofix"},"license":"MIT","_id":"amap-weather-icons@0.0.5","maintainers":[{"name":"anonymous","email":"frankiewb9527@gmail.com"}],"dist":{"shasum":"7b177d29debeb0dc173d468568c480a3682c6d6d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/amap-weather-icons/-/amap-weather-icons-0.0.5.tgz","fileCount":74,"integrity":"sha512-GzSYvJdkJycBuIRg26/CwVQkoMNPpaprxcPuQ30hCsmlS0KxlRTHiXG0J6Dnj/NRYS2z0eq8D+rRWiMzTDrTwQ==","signatures":[{"sig":"MEQCIA3IMhzE5/SeukYdx4xL2TF1G2hEv4FVgQJKQL5gmLiEAiAKLwqRkShMHBF3CLbrWpGYD1xZe+I0xbd9c7CEtJ2d7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3619055,"size":1161182},"main":"output/index.js","type":"module","gitHead":"7f504e24e3df05bd50ac631984a183fb07c81202","scripts":{"build":"rollup --config"},"_npmUser":{"name":"anonymous","email":"frankiewb9527@gmail.com"},"_npmVersion":"10.2.4","description":"高德天气现象图标组件","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.18.0","@rollup/plugin-image":"^3.0.3","@rollup/plugin-terser":"^0.4.4"},"_npmOperationalInternal":{"tmp":"tmp/amap-weather-icons_0.0.5_1720064175416_0.5938521977598965","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-07-04T03:36:15.637Z","publish_time":1720064175637,"_source_registry_name":"default","contributors":[]},"0.0.6":{"name":"amap-weather-icons","version":"0.0.6","description":"高德天气现象图标组件","main":"output/index.js","scripts":{"build":"rollup --config"},"type":"module","keywords":["高德地图","天气查询","图标","amap","weather","icons"],"author":{"name":"Rofix"},"license":"MIT","devDependencies":{"@rollup/plugin-image":"^3.0.3","@rollup/plugin-terser":"^0.4.4","rollup":"^4.18.0"},"_id":"amap-weather-icons@0.0.6","gitHead":"51f7cf551a97f4639ed71d025619721efde22f21","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-EEgdAWFJUy86AJJAZt8bnefijIgsF5uOnOfNGE0WkKjL1TI6JTuaVCDnRGendXlucrmP7obs/uJNiFCq6nqAjA==","shasum":"d0c3345729691fe34df6dc99fb0ce35577f31f6a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/amap-weather-icons/-/amap-weather-icons-0.0.6.tgz","fileCount":74,"unpackedSize":3619510,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8aGt0eDZeISNw1yV2MZQubJa/wAtsIDAtKP5TbPpThgIgCdTFIfP2rIrSord9U39ihHrbIutO7cgyKYtKYRbOX0Y="}],"size":1161418},"_npmUser":{"name":"anonymous","email":"frankiewb9527@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"frankiewb9527@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/amap-weather-icons_0.0.6_1720070276259_0.8914358879693216"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-04T05:17:56.508Z","publish_time":1720070276508,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.0.6"},"name":"amap-weather-icons","time":{"created":"2024-06-22T05:41:38.139Z","modified":"2024-07-04T06:28:32.251Z","0.0.1":"2024-06-22T05:36:48.753Z","0.0.2":"2024-06-25T04:58:45.247Z","0.0.3":"2024-07-01T01:03:31.761Z","0.0.4":"2024-07-04T03:31:46.019Z","0.0.5":"2024-07-04T03:36:15.637Z","0.0.6":"2024-07-04T05:17:56.508Z"},"readme":"# amap-weather-icons\n\n[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n\n## Background\n\n由于高德地图 [天气查询 API](https://lbs.amap.com/api/webservice/guide/api/weatherinfo/#t1) 并没有返回相应的 [天气现象](https://lbs.amap.com/api/webservice/guide/tools/weather-code) 图标，故编写此库方便大家使用。本项目采用 Web Components 编写，支持主流的前端技术框架，感谢 [林间风雨](https://download.csdn.net/download/jack_rose_me/33450342) 提供的图片资源。\n\n## Install\n\n```bash\nnpm install amap-weather-icons\n```\n\n## Usage\n\n### Web Components\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>amap-weather-icons</title>\n    <script src=\"https://unpkg.com/amap-weather-icons@0.0.6/output/index.js\"></script>\n  </head>\n  <body>\n    <amap-weather-icons size=\"50\" icon=\"暴雪\"></amap-weather-icons>\n  </body>\n</html>\n```\n\n### Vite\n\n```javascript\n// vite.config.js\nimport vue from '@vitejs/plugin-vue'\n\nexport default {\n  plugins: [\n    vue({\n      template: {\n        compilerOptions: {\n          isCustomElement: (tag) => tag.includes('amap-weather-icons')\n        }\n      }\n    })\n  ]\n}\n```\n\n### Vue\n\n```vue\n<script setup>\nimport \"amap-weather-icons\";\nimport { ref } from \"vue\";\n\nconst size = ref(50);\nconst icon = ref(\"暴雪\");\n</script>\n\n<template>\n  <amap-weather-icons :icon=\"icon\" :size=\"size\"></amap-weather-icons>\n</template>\n```\n\n### React\n\n```jsx\nimport \"amap-weather-icons\";\nimport { useState } from \"react\";\n\nfunction App() {\n  const [size] = useState(50);\n  const [icon] = useState(\"暴雪\");\n\n  return (\n    <>\n      <amap-weather-icons size={size} icon={icon}></amap-weather-icons>\n    </>\n  );\n}\n\nexport default App;\n```\n\n### Svelte\n\n```svelte\n<script>\n  import \"amap-weather-icons\";\n\n  const size = 50;\n  const icon = \"暴雪\";\n</script>\n\n<main>\n  <amap-weather-icons {size} {icon}></amap-weather-icons>\n</main>\n```\n\n## Attributes\n\n| Name | Description         | Type          | Default |\n| ---- | ------------------- | ------------- | ------- |\n| icon | weather phenomena   | string        | 未知    |\n| size | SVG width/height px | string/number | 256     |\n\n## License\n\n[MIT](LICENSE)","users":{}}