{"id":23120485,"url":"https://github.com/plotdb/quill-uploader","last_synced_at":"2026-01-16T12:31:21.155Z","repository":{"id":267968254,"uuid":"902918777","full_name":"plotdb/quill-uploader","owner":"plotdb","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-13T14:55:29.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T03:15:29.362Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"LiveScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plotdb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2024-12-13T14:38:39.000Z","updated_at":"2024-12-13T14:53:56.000Z","dependencies_parsed_at":"2024-12-13T16:18:28.719Z","dependency_job_id":"f713ab18-22e9-4cc6-a668-b4e725f8ebd9","html_url":"https://github.com/plotdb/quill-uploader","commit_stats":null,"previous_names":["plotdb/quill-uploader"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/plotdb/quill-uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fquill-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fquill-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fquill-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fquill-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plotdb","download_url":"https://codeload.github.com/plotdb/quill-uploader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fquill-uploader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-17T06:11:06.399Z","updated_at":"2026-01-16T12:31:21.112Z","avatar_url":"https://github.com/plotdb.png","language":"LiveScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @plotdb/quill-uploader\n\nUpload Manager for Quill.js. It's a abstract interface for which you should still implement the upload function to handle the upload request.\n\n\n## Installation\n\nInstall @plotdb/quill-uploader and its dependencies via npm:\n\n    npm install --save @plotdb/quill-uploader ldfile @loadingio/debounce.js\n\n\n## Usage\n\ninclude js file:\n\n    \u003cscript type=\"module\" src=\"path/to/quill-uploader/dist/index.min.js\"\u003e\u003c/script\u003e\n\n\ncreate a quill-uploader instance:\n\n    uploadr = new quillUploader(opt)\n\nwhere `opt` is an object with the following properties:\n\n - `upload`: a function that handles upload request.\n   - request is handled  by accepting an object with following params:\n       - `file`: file blob to upload which should provide following fields:\n         - `name`, `size`, `type`, `lastModified`\n       - `progress`: a callback function that accepts upload progress between 0 ~ 1.\n   - it should return a Promise which resolves with an object with following fields:\n     - `filename`: file name.\n     - `size`: file size.\n     - `modifiedtime`: last modified time of this file.\n     - `url`: where we can find the uploaded version of this file.\n\n\nthen, use it to construct a Quill instance:\n\n    new Quill(node, {\n      modules: { toolbar: {\n        handlers: {\n          image: uploadr.handler.upload({type:\"image\"}),\n          upload: uploadr.handler.upload({type:\"file\"})\n        }\n      }}\n    })\n\nand watch for `uploaded` event which will be fired with a file blob object when the file is successfully uploaded:\n\n    uploader.on(\"uploaded\", function(file) { ... });\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotdb%2Fquill-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplotdb%2Fquill-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotdb%2Fquill-uploader/lists"}