{"id":22541270,"url":"https://github.com/peng-yin/webpack-qiniu-plugin","last_synced_at":"2025-09-11T16:03:22.732Z","repository":{"id":62256536,"uuid":"559160415","full_name":"peng-yin/webpack-qiniu-plugin","owner":"peng-yin","description":"上传 Webpack 打包出来的 assets 到 七牛云","archived":false,"fork":false,"pushed_at":"2023-02-15T13:44:16.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-08T20:55:40.312Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/peng-yin.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-29T08:44:08.000Z","updated_at":"2022-10-29T08:46:42.000Z","dependencies_parsed_at":"2025-09-11T16:02:31.404Z","dependency_job_id":null,"html_url":"https://github.com/peng-yin/webpack-qiniu-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peng-yin/webpack-qiniu-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peng-yin%2Fwebpack-qiniu-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peng-yin%2Fwebpack-qiniu-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peng-yin%2Fwebpack-qiniu-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peng-yin%2Fwebpack-qiniu-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peng-yin","download_url":"https://codeload.github.com/peng-yin/webpack-qiniu-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peng-yin%2Fwebpack-qiniu-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274665010,"owners_count":25327093,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-07T12:15:05.199Z","updated_at":"2025-09-11T16:03:22.694Z","avatar_url":"https://github.com/peng-yin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## 特点\n\n- 上传 webpack 打包后的所有静态资源到七牛云。\n- 自动忽略`.html`文件。\n- 支持覆盖已上传文件。\n\n基于官方七牛云[Node.js SDK](https://developer.qiniu.com/kodo/sdk/1289/nodejs)。\n\n## 安装\n\n```js\nnpm install @pengyin/qiniu --save-dev\n```\n\n## 使用方法\n\n```js\nconst QiniuUploadPlugin = require('@pengyin/qiniu');\n\nplugins: [\n  new QiniuUploadPlugin({\n    publicPath: 'http://cdn.xxx.com', // 七牛云域名，自动替换 publicPath\n    accessKey: 'your qiniu accessKey', // 个人中心，秘钥管理，AK\n    secretKey: 'your qiniu secretKey', // 个人中心，秘钥管理，SK\n    bucket: 'your qiniu bucket', // 存储空间名称\n    zone: 'Zone_z2', // 存储地区\n    // 可选参数：\n    cover: false // 慎用！默认为 false，设置为 true 会覆盖掉已经保存在七牛云上的同名文件。\n  })\n];\n```\n\n## 效果截图\n\n![上传七牛云](https://raw.githubusercontent.com/yhlben/qiniu-upload-plugin/master/screenshots/qiniu-upload.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeng-yin%2Fwebpack-qiniu-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeng-yin%2Fwebpack-qiniu-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeng-yin%2Fwebpack-qiniu-plugin/lists"}