{"id":22200813,"url":"https://github.com/michaelvilleneuve/simple-image-uploader","last_synced_at":"2026-05-13T07:04:07.632Z","repository":{"id":57360254,"uuid":"95230632","full_name":"Michaelvilleneuve/simple-image-uploader","owner":"Michaelvilleneuve","description":"👌 Simple Node.JS npm package to handle image upload, resize and custom naming.","archived":false,"fork":false,"pushed_at":"2017-06-23T15:12:12.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T03:14:21.345Z","etag":null,"topics":["image-processing","node-js","npm-package","upload-images"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Michaelvilleneuve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-23T15:04:03.000Z","updated_at":"2018-11-08T09:03:27.000Z","dependencies_parsed_at":"2022-09-06T21:41:31.864Z","dependency_job_id":null,"html_url":"https://github.com/Michaelvilleneuve/simple-image-uploader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Michaelvilleneuve%2Fsimple-image-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Michaelvilleneuve%2Fsimple-image-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Michaelvilleneuve%2Fsimple-image-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Michaelvilleneuve%2Fsimple-image-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Michaelvilleneuve","download_url":"https://codeload.github.com/Michaelvilleneuve/simple-image-uploader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372367,"owners_count":20604490,"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":["image-processing","node-js","npm-package","upload-images"],"created_at":"2024-12-02T15:39:50.081Z","updated_at":"2026-05-13T07:04:07.532Z","avatar_url":"https://github.com/Michaelvilleneuve.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Image Uploader\n=====\n\nJust a simple base64 image upload library for Node.JS.\nIt features upload, custom path and image resize.\n\nInstall\n----\n`$ npm install --save simple-image-uploader`\n\nUsage\n----\n\nIt's all about `Image.upload()`.\nThe method returns a promise with the path of the uploaded image, so you can easily store it afterward.\n\nNote : destination folder must exist\n\n```javascript\nimport Image from 'simple-image-uploader';\n\nlet width = 1600,\n    height = 1900;\n\nconst path = 'myAwesomeImage.jpg';\n\nImage.upload(base64String, width, height, path)\n    .then((image) =\u003e console.log(image)); // will return 'myAwesomeImage.jpg';\n```\n\n\nRun tests\n-----\n`$ npm test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelvilleneuve%2Fsimple-image-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelvilleneuve%2Fsimple-image-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelvilleneuve%2Fsimple-image-uploader/lists"}