{"id":23399922,"url":"https://github.com/zaadevofc/img-to-url","last_synced_at":"2025-04-11T18:07:40.118Z","repository":{"id":65427711,"uuid":"565356274","full_name":"zaadevofc/img-to-url","owner":"zaadevofc","description":"Eazy Upload Img to Url","archived":false,"fork":false,"pushed_at":"2023-05-02T04:36:23.000Z","size":9967,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T18:04:16.719Z","etag":null,"topics":["hosting","image","nodejs","to","upload","url"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/img-to-url","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaadevofc.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":"2022-11-13T05:58:17.000Z","updated_at":"2023-06-25T11:56:21.000Z","dependencies_parsed_at":"2023-01-23T04:55:11.808Z","dependency_job_id":null,"html_url":"https://github.com/zaadevofc/img-to-url","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/zaadevofc%2Fimg-to-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaadevofc%2Fimg-to-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaadevofc%2Fimg-to-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaadevofc%2Fimg-to-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaadevofc","download_url":"https://codeload.github.com/zaadevofc/img-to-url/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248456374,"owners_count":21106602,"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":["hosting","image","nodejs","to","upload","url"],"created_at":"2024-12-22T10:17:50.048Z","updated_at":"2025-04-11T18:07:40.095Z","avatar_url":"https://github.com/zaadevofc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Image to Url Converter\n\nUbah gambar menjadi url dengan instan!, gambarmu akan bisa diakses melalui url yang sudah dikonversi nantinya!\n\nDi hosting menggunakan [EzGif](https://ezgif.com).\n\n* Ekstensi yang didukung : `GIF, JPG, PNG, BMP, WebP, APNG, HEIC, FLIF, AVIF, MNG`\n* Batas maksimal ukuran file : `50MB`\n\n## Installation\n\nInstall with npm:\n\n```js\n$ npm install img-to-url\n```\n\nWith require:\n\n```js\nconst img2url = require(\"img-to-url\");\n```\n\n### Usage\n\n#### Example :\n\nsee [example.js](https://github.com/zaadevofc/img-to-url/blob/master/example.js) for details.\n\n```js\nconst getUrl = async () =\u003e {\n    const result = await img2url.upload('./your/path/image.png').then(x =\u003e x)\n    console.log(result)\n    /* Result :\n    {\n      ok: true,                                                         \n      code: 200,\n      result: {\n        url: 'https://im.ezgif.com/tmp/\u003cHASH-ID\u003e.png',\n        mime: 'image/png',\n        size: 245844\n      },\n      HostedBy: 'https://ezgif.com',\n      CreatedBy: 'https://github.com/zaadevofc'\n    }\n    */\n}\n```\n\n## Testing\n\nInstall dependencies:\n\n```\nnpm install\n```\n\nRun tests:\n\n```\nnpm run test\n```\n\n## License\n\nCode released under the [MIT license](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaadevofc%2Fimg-to-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaadevofc%2Fimg-to-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaadevofc%2Fimg-to-url/lists"}