{"id":21512915,"url":"https://github.com/hackdoor-io/imgproxy-js","last_synced_at":"2026-02-28T22:31:57.906Z","repository":{"id":44075753,"uuid":"206567877","full_name":"Hackdoor-io/imgproxy-js","owner":"Hackdoor-io","description":"📸 JavaScript library for generating ImageProxy urls both on browser and server.","archived":false,"fork":false,"pushed_at":"2023-01-04T09:02:50.000Z","size":1273,"stargazers_count":18,"open_issues_count":12,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-08T18:29:24.400Z","etag":null,"topics":["browser","image-processing","imgproxy","node","nodejs"],"latest_commit_sha":null,"homepage":"","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/Hackdoor-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"jsmonday","open_collective":"jsmonday"}},"created_at":"2019-09-05T13:14:55.000Z","updated_at":"2023-02-21T14:07:49.000Z","dependencies_parsed_at":"2023-02-02T06:16:25.322Z","dependency_job_id":null,"html_url":"https://github.com/Hackdoor-io/imgproxy-js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Hackdoor-io/imgproxy-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgproxy-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgproxy-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgproxy-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgproxy-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hackdoor-io","download_url":"https://codeload.github.com/Hackdoor-io/imgproxy-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackdoor-io%2Fimgproxy-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269857473,"owners_count":24486393,"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-08-11T02:00:10.019Z","response_time":75,"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":["browser","image-processing","imgproxy","node","nodejs"],"created_at":"2024-11-23T22:48:08.575Z","updated_at":"2026-02-28T22:31:57.833Z","avatar_url":"https://github.com/Hackdoor-io.png","language":"JavaScript","funding_links":["https://patreon.com/jsmonday","https://opencollective.com/jsmonday"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"/docs/cover.png?v=2\" /\u003e\n\u003ca href=\"https://opencollective.com/jsmonday\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://opencollective.com/jsmonday/tiers/one-shot-donation.svg?avatarHeight=60\u0026width=600\" /\u003e\n\u003c/a\u003e\u003cbr /\u003e\n\n**JavaScript** library for generating **ImageProxy** urls **both on browser and server**.\n\n# Installation\n\n```bash\nnpm i -s @jsmonday/imgproxy\n# or\nyarn add @jsmonday/imgproxy\n```\n\n# Usage\n\n```js\nimport ImgProxy from \"@jsmonday/imgproxy\";\n\nconst proxy = new ImgProxy({ \n  key:  process.env.IMGPROXY_KEY, \n  salt: process.env.IMGPROXY_SALT, \n  url:  process.env.IMGPROXY_URL\n});\n\nconst myResizedImage = proxy\n                        .image(\"https://example.com/img.jpg\")\n                        .width(500)\n                        .height(500)\n                        .extension(\"png\")\n\nconsole.log(myResizedImage.get()); // =\u003e \"\u003cimgproxy url\u003e\"\n\n```\n\n# Methods\n`@jsmonday/imgproxy` currently does not support all the **imgproxy** methods (it will do in the near future).\n\n- `.image(\u003cstring\u003e)`: The image to be resized\n- `.width(\u003cnumber\u003e)`: Resize Width\n- `.height(\u003cnumber\u003e)`: Resize height\n- `.extension(\u003cstring\u003e)`: The resized image extension\n- `.gravity(\u003cstring\u003e)`: The resize gravity\n- `.enlarge(\u003cnumber\u003e`: Enlarge image\n- `.resizeType(\u003cstring)`: The resize type\n\n\n# License\n[MIT](/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackdoor-io%2Fimgproxy-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackdoor-io%2Fimgproxy-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackdoor-io%2Fimgproxy-js/lists"}