{"id":21998516,"url":"https://github.com/umkus/lambda-layer-better-sqlite3","last_synced_at":"2026-04-14T10:31:53.779Z","repository":{"id":89917361,"uuid":"294186430","full_name":"Umkus/lambda-layer-better-sqlite3","owner":"Umkus","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-09T17:47:00.000Z","size":920,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T01:42:58.607Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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-09-09T17:45:59.000Z","updated_at":"2020-09-09T17:47:02.000Z","dependencies_parsed_at":"2023-05-30T12:31:04.063Z","dependency_job_id":null,"html_url":"https://github.com/Umkus/lambda-layer-better-sqlite3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Umkus/lambda-layer-better-sqlite3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-better-sqlite3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-better-sqlite3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-better-sqlite3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-better-sqlite3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Umkus","download_url":"https://codeload.github.com/Umkus/lambda-layer-better-sqlite3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umkus%2Flambda-layer-better-sqlite3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31793212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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-11-29T22:25:12.130Z","updated_at":"2026-04-14T10:31:53.763Z","avatar_url":"https://github.com/Umkus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS better-sqlite3 layer\nThis AWS lambda layer contains a pre-built [better-sqlite3](https://www.npmjs.com/package/better-sqlite3) npm library.\nIt is optimized for the smallest space usage possible.\n\n|better-sqlite3 version| Layer size|\n|---|---|\n|[7.1.0](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v7.1.0)|0.87MB|\n\n# Getting\nA pre-built layer zip file is available at [`dist/better-sqlite3-layer.zip`](./dist/better-sqlite3-layer.zip).\n\n# Building\n\n## Dependencies\n* Docker\n\n## Steps\n1. Clone the repo:\n    ```shell script\n    git clone git@github.com:Umkus/lambda-layer-better-sqlite3.git\n    cd lambda-layer-better-sqlite3/\n    ```\n1. Install dependencies:\n    ```shell script\n    docker run -v \"$PWD\":/var/task lambci/lambda:build-nodejs12.x npm --no-optional --no-audit --progress=false install\n    ```\n1. Build the layer:\n    ```shell script\n    docker run -v \"$PWD\":/var/task lambci/lambda:build-nodejs12.x node ./node_modules/webpack/bin/webpack.js\n    ```\n1. Perform a smoke-test:\n    ```shell script\n    docker run -w /var/task/dist/nodejs -v \"$PWD\":/var/task lambci/lambda:build-nodejs12.x node -e \"console.log(require('better-sqlite3'))\"\n    ```\n1. Import created layer into your AWS account:\n    ```shell script\n    aws lambda publish-layer-version --layer-name better-sqlite3 --description \"better-sqlite3 layer\" --license-info \"Apache License 2.0\" --zip-file fileb://dist/better-sqlite3-layer.zip --compatible-runtimes nodejs12.x\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumkus%2Flambda-layer-better-sqlite3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumkus%2Flambda-layer-better-sqlite3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumkus%2Flambda-layer-better-sqlite3/lists"}