{"id":22541296,"url":"https://github.com/pandaoh/js-xxx","last_synced_at":"2025-03-23T05:06:53.152Z","repository":{"id":49832958,"uuid":"485252938","full_name":"pandaoh/js-xxx","owner":"pandaoh","description":"[ http://x.biugle.cn ] Fed JavaScript Function Library. 前端 JavaScript 常用函数/工具/方法库，支持按需引入，方便抽离工具类等常用方法。","archived":false,"fork":false,"pushed_at":"2024-09-21T05:45:18.000Z","size":13696,"stargazers_count":47,"open_issues_count":7,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-28T00:47:50.923Z","etag":null,"topics":["function","function-library","functions","javascript","js","js-xxx","method","method-library","methods","rollup","ts","typescript","xfunction","xfunctions","xmethod","xmethods","xxx"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/js-xxx","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pandaoh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-25T06:43:56.000Z","updated_at":"2024-09-21T05:45:08.000Z","dependencies_parsed_at":"2024-10-26T15:14:27.775Z","dependency_job_id":null,"html_url":"https://github.com/pandaoh/js-xxx","commit_stats":{"total_commits":59,"total_committers":2,"mean_commits":29.5,"dds":"0.016949152542372836","last_synced_commit":"2368f9d47d580cbff355fbef5f93ecb16bb18389"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandaoh%2Fjs-xxx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandaoh%2Fjs-xxx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandaoh%2Fjs-xxx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandaoh%2Fjs-xxx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pandaoh","download_url":"https://codeload.github.com/pandaoh/js-xxx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245056912,"owners_count":20553856,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["function","function-library","functions","javascript","js","js-xxx","method","method-library","methods","rollup","ts","typescript","xfunction","xfunctions","xmethod","xmethods","xxx"],"created_at":"2024-12-07T12:15:23.029Z","updated_at":"2025-03-23T05:06:53.133Z","avatar_url":"https://github.com/pandaoh.png","language":"HTML","readme":"# 前端 JavaScript 常用函数/工具/方法库\n\n## [文档(x.biugle.cn)](http://x.biugle.cn)\n\n[![OSCS Status](https://www.oscs1024.com/platform/badge/pandaoh/js-xxx.svg?size=small)](https://www.oscs1024.com/project/pandaoh/js-xxx?ref=badge_small)\n\n\u003e 封装前端常用函数/方法/工具库，支持按需引入；无依赖和第三方库，无冗余代码，无需改动原代码结构；拆箱即用，简单便捷。\n\n* [GitHub](https://github.com/pandaoh/js-xxx)\n* [Npm](https://www.npmjs.com/package/js-xxx)\n* [Docs-在线文档](https://pandaoh.github.io/js-xxx/html/) `已引入 (js-xxx)，可直接在控制台调试。`\n\n## Install-安装\n\n```bash\nnpm i js-xxx\n```\n\n## Use-使用\n\n```javascript\n// Es or Node\nimport { xFunctionName } from 'js-xxx';\nconst { xFunctionName } = require('js-xxx');\nxFunctionName();\n\n// Browser\n\u003cscript src=\"/iife/index.min.js\"\u003e\u003c/script\u003e\n$xxx.xFunctionName();\n$xxx.formatDate(new Date(), 'mm-dd');\n\n// 可参考 ./demo/test.js，示例如下。\nimport { showToast, md5, scrollToTop, formatDate, uuid } from 'js-xxx';\nconst { showToast, md5, scrollToTop, formatDate, uuid } = require('js-xxx');\nformatDate(new Date(), 'yyyy-mm-dd hh:ii:ss');\n```\n\n## Docs-文档\n\n* [Web 网页在线文档](https://pandaoh.github.io/js-xxx/html/)\n* [Docs MarkDown-文档](https://github.com/pandaoh/js-xxx/blob/main/docs/README.md)\n* [Docs MarkDown-文档镜像](https://gitee.com/doubleam/js-xxx/blob/main/docs/README.md)\n\n## Others\n\n* [Issue](https://github.com/pandaoh/js-xxx/issues)\n* [Pull Request](https://github.com/pandaoh/js-xxx/pulls)\n* [hxbpandaoh@163.com](mailto:hxbpandaoh@163.com)\n* [Blog](http://a.biugle.cn)\n* Leo He\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandaoh%2Fjs-xxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpandaoh%2Fjs-xxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandaoh%2Fjs-xxx/lists"}