{"analyzedAt":"2022-07-02T03:43:32.282Z","collected":{"metadata":{"name":"h-wx-js","scope":"unscoped","version":"1.1.3","description":"Solve the problem of h5 webpage opening in wechat, input losing focus, and the bottom blank after the ios keyboard is folded up","keywords":["browser","h-wx-js","wx-sdk","vue","wx-sdk-js","wx-h5"],"date":"2022-05-24T09:25:10.778Z","author":{"name":"hao","url":"https://github.com/hvuejs/h-wx-js"},"publisher":{"username":"haojs-next","email":"wwwvipljh@163.com"},"maintainers":[{"username":"haojs-next","email":"wwwvipljh@163.com"}],"repository":{"type":"git","url":"git+https://github.com/hvuejs/h-wx-js.git"},"links":{"npm":"https://www.npmjs.com/package/h-wx-js","homepage":"https://github.com/hvuejs/h-wx-js#readme","repository":"https://github.com/hvuejs/h-wx-js","bugs":"https://github.com/hvuejs/h-wx-js/issues"},"license":"MIT","devDependencies":{"@babel/core":"^7.15.5","@babel/preset-env":"^7.15.6","@babel/preset-typescript":"^7.17.12","@rollup/plugin-node-resolve":"^13.3.0","core-js":"^3.18.0","rollup":"^2.56.3","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-dts":"^4.2.1","rollup-plugin-filesize":"^9.1.1","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.31.2","typescript":"^4.6.4"},"releases":[{"from":"2022-06-02T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":0},{"from":"2022-04-03T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":5},{"from":"2022-01-03T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":5},{"from":"2021-07-02T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":7},{"from":"2020-07-02T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":7}],"hasSelectiveFiles":true,"readme":"# h-wx-js\n\n## Install\n\n```base\nnpm install h-wx-js\n\nor\n\nyarn add h-wx-js\n```\n\n\n## ES Module\n\nExample for how to import the ES module from another module:\n\n```javascript\nimport hwx from \"h-wx-js\";\n\nhwx.watchInput(); // Global listening input\n\nor\n\nimport { watchInput } from \"h-wx-js\";\n\nwatchInput();\n\n```\n\n```html\n\n<!-- vue -->\n<div>\n\t<input v-model=\"value\" @blur=\"changeScroll\" />\n</div>\n\n\n<script>\n\nimport { fixScroll } from \"h-wx-js\";\n\nexport default {\n\tdata () {\n\t\treturn {\n\t\t\tvalue: \"\"\n\t\t}\n\t},\n\tmethods: {\n\t\tchangeScroll: function () {\n\t\t\tfixScroll();\n\t\t}\n\t}\n}\n\n</script>\n\n```\n\ninit ```font-size```\n\n```javascript\n\n// main.js\n\nimport { initFontSize } from \"h-wx-js\";\n\ninitFontSize();\n\n```"},"npm":{"downloads":[{"from":"2022-07-01T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":0},{"from":"2022-06-25T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":5},{"from":"2022-06-02T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":20},{"from":"2022-04-03T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":190},{"from":"2022-01-03T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":211},{"from":"2021-07-02T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":256}],"starsCount":0},"github":{"starsCount":0,"forksCount":0,"subscribersCount":1,"issues":{"count":0,"openCount":0,"distribution":{"3600":0,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":0,"212576400":0},"isDisabled":false},"commits":[{"from":"2022-06-25T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":0},{"from":"2022-06-02T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":0},{"from":"2022-04-03T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":0},{"from":"2022-01-03T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":0},{"from":"2021-07-02T00:00:00.000Z","to":"2022-07-02T00:00:00.000Z","count":0}]},"source":{"files":{"readmeSize":698,"testsSize":0},"linters":["editorconfig"]}},"evaluation":{"quality":{"carefulness":0.9199999999999999,"tests":0,"health":1,"branding":0},"popularity":{"communityInterest":1,"downloadsCount":63.333333333333336,"downloadsAcceleration":0.10903729071537288,"dependentsCount":0},"maintenance":{"releasesFrequency":0.8891267123287672,"commitsFrequency":0,"openIssues":0.7,"issuesDistribution":0.7}},"score":{"final":0.38763253871108305,"detail":{"quality":0.5400461886258112,"popularity":0.016671020588497145,"maintenance":0.6279537854781878}}}