{"id":20542173,"url":"https://github.com/weivea/koa-ueditor","last_synced_at":"2025-04-14T09:10:54.701Z","repository":{"id":83302354,"uuid":"50416328","full_name":"weivea/koa-ueditor","owner":"weivea","description":"基于koajs的ueditor","archived":false,"fork":false,"pushed_at":"2016-03-04T12:18:54.000Z","size":2784,"stargazers_count":13,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T09:10:08.626Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weivea.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":"2016-01-26T08:56:00.000Z","updated_at":"2022-09-30T02:03:55.000Z","dependencies_parsed_at":"2023-06-18T04:15:21.361Z","dependency_job_id":null,"html_url":"https://github.com/weivea/koa-ueditor","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"dbf23dfab0d802f3f7b8344ef21ac2cc3a42a957"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weivea%2Fkoa-ueditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weivea%2Fkoa-ueditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weivea%2Fkoa-ueditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weivea%2Fkoa-ueditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weivea","download_url":"https://codeload.github.com/weivea/koa-ueditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852181,"owners_count":21171842,"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":[],"created_at":"2024-11-16T01:29:37.248Z","updated_at":"2025-04-14T09:10:54.675Z","avatar_url":"https://github.com/weivea.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koa-ueditor\n基于koajs的ueditor\n\n支持 图片 和 文件的上传\n\n#### 安装\n`npm install koa-ueditor --save`\n\n#### 使用\n\n\n ueditor的web端配置请参考[官网](http://ueditor.baidu.com/website/)\n\n 将`example/public`下的ueditor文件夹整个拷贝到项目的静态资源文件夹根目录下如`静态资源文件夹/ueditor`\n\n 使用样例饿\n ```\n var route = require('koa-router')();\n var views = require('co-views');\n var serve = require('koa-static');\n\n\n //模板。静态资源\n var render = views('views', {\n     map: { html: 'ejs' }\n });\n\n var staticsPath = 'public';//静态资源路径\n app.use(serve(staticsPath));//设置静态资源路径\n var ueditor = require('koa-ueditor')(staticsPath);//配置ueditor\n route.all('/ueditor/ue', ueditor);\n\n\n\n route.get('/', function *(){\n     this.body = yield render(\"ueditor\");\n });\n ```\n\n\n\n\n#### 邮箱\n\n\n 550281353@qq.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweivea%2Fkoa-ueditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweivea%2Fkoa-ueditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweivea%2Fkoa-ueditor/lists"}