{"id":21998513,"url":"https://github.com/umkus/lambda-layer-sharp","last_synced_at":"2025-08-17T11:06:18.036Z","repository":{"id":37639022,"uuid":"246848188","full_name":"Umkus/lambda-layer-sharp","owner":"Umkus","description":"An AWS lambda layer with pre-built sharp node module optimised for minimal layer size","archived":false,"fork":false,"pushed_at":"2024-08-30T20:28:14.000Z","size":10502,"stargazers_count":96,"open_issues_count":3,"forks_count":31,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-02T19:02:42.933Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-layer","sharp"],"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/Umkus.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-12T13:58:25.000Z","updated_at":"2025-06-17T08:59:52.000Z","dependencies_parsed_at":"2024-11-29T22:37:52.659Z","dependency_job_id":null,"html_url":"https://github.com/Umkus/lambda-layer-sharp","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Umkus/lambda-layer-sharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-sharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-sharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-sharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-sharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Umkus","download_url":"https://codeload.github.com/Umkus/lambda-layer-sharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-sharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270837583,"owners_count":24654391,"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-17T02:00:09.016Z","response_time":129,"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":["aws","aws-lambda","aws-lambda-layer","sharp"],"created_at":"2024-11-29T22:25:07.742Z","updated_at":"2025-08-17T11:06:17.976Z","avatar_url":"https://github.com/Umkus.png","language":"JavaScript","readme":"# AWS Sharp layer\nThis AWS lambda layer contains a latest pre-built vanilla [sharp](https://www.npmjs.com/package/sharp) npm library, so that you could \"just use\" it in your lambda code:\n\n```javascript\nimport sharp from 'sharp'\n// ...\n```\n\nIt contains only necessary files to minimize its weight (16Mb).\nIt also supports all current AWS lambda node runtimes (\u003e=`nodejs14.x`) and architectures (`x86_64` and `arm64`).\n\n# Getting\nA pre-built layer zip file is available on the [Releases page](../../releases).\n\nYou can import it into your AWS account throught the Lambda console or with the following command:\n```shell\naws lambda publish-layer-version \\\n    --layer-name sharp \\\n    --description \"Sharp layer\" \\\n    --license-info \"Apache License 2.0\" \\\n    --zip-file fileb://dist/sharp-layer.zip \\\n    --compatible-runtimes nodejs14.x nodejs16.x nodejs18.x nodejs20.x \\\n    --compatible-architectures x86_64 arm64\n```\n\n# Building\nSimply run (this will wipe your existing `node_modules/` directory):\n```shell\nnpm ci --arch=x64 --platform=linux\n```\n\nBuild will be performed automatically upon deps installation.\nThe resulted lambda layer zip file will be saved to `dist/` directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumkus%2Flambda-layer-sharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumkus%2Flambda-layer-sharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumkus%2Flambda-layer-sharp/lists"}