{"id":23855584,"url":"https://github.com/marconi1992/serverless-offline-lambda","last_synced_at":"2025-09-08T03:31:20.202Z","repository":{"id":55604373,"uuid":"168472207","full_name":"marconi1992/serverless-offline-lambda","owner":"marconi1992","description":"Emulate AWS λ Invocations locally when developing your Serverless project","archived":false,"fork":false,"pushed_at":"2020-12-18T17:05:18.000Z","size":47,"stargazers_count":10,"open_issues_count":7,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-06T21:59:29.964Z","etag":null,"topics":["lambda","serverless","serverless-offline"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/serverless-offline-lambda","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/marconi1992.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-31T06:07:12.000Z","updated_at":"2023-06-03T17:27:18.000Z","dependencies_parsed_at":"2022-08-15T04:10:33.089Z","dependency_job_id":null,"html_url":"https://github.com/marconi1992/serverless-offline-lambda","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/marconi1992/serverless-offline-lambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Fserverless-offline-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Fserverless-offline-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Fserverless-offline-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Fserverless-offline-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marconi1992","download_url":"https://codeload.github.com/marconi1992/serverless-offline-lambda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Fserverless-offline-lambda/sbom","scorecard":{"id":618187,"data":{"date":"2025-08-11","repo":{"name":"github.com/marconi1992/serverless-offline-lambda","commit":"68f1056996f37e8ad3ed1bbeb82bb14e207d6e69"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":3,"reason":"Found 5/13 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T04:32:21.668Z","repository_id":55604373,"created_at":"2025-08-21T04:32:21.668Z","updated_at":"2025-08-21T04:32:21.668Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273317757,"owners_count":25084037,"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-09-02T02:00:09.530Z","response_time":77,"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":["lambda","serverless","serverless-offline"],"created_at":"2025-01-03T00:58:47.705Z","updated_at":"2025-09-08T03:31:19.976Z","avatar_url":"https://github.com/marconi1992.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-offline-lambda\n\nThis [Serverless](https://github.com/serverless/serverless) plugin extends [serverless-offline](https://github.com/dherault/serverless-offline) to emulates [AWS λ](https://aws.amazon.com/lambda) Invocations on your local machine to speed up your development cycles. To do so, it starts an HTTP server to invoke a Lambda using the [AWS SDK](https://github.com/aws/aws-sdk-js).\n\n## Installation\n\nFirst, add Serverless Plugin to your project:\n\n`npm install serverless-offline-lambda --save-dev`\n\nThen inside your project's `serverless.yml` file add following entry to the plugins section: `serverless-offline-lamda`. If there is no plugin section you will need to add it to the file.\n\nIt should look something like this:\n\n```YAML\nplugins:\n  - serverless-offline-lambda\n  - serverless-offline\n```\n\n## Example\n\nRun Serverless Offline\n```\nsls offline start\n```\n\nInvoke Lambda using [AWS SDK](https://github.com/aws/aws-sdk-js).\n\n```javascript\nconst AWS = require('aws-sdk');\n\nconst lambda = new AWS.Lambda({\n  endpoint: new AWS.Endpoint('http://localhost:4000'),\n  region: 'us-east-1',\n});\n\n\nlambda.invoke({\n  FunctionName: 'function',\n  InvocationType: 'Event',\n  Payload: JSON.stringify({ key: 'value' }),\n}).promise();\n\n```\n\n## Config\n\nBy default the Lambda endpoint listens on `localhost` port 4000, but this can be changed in `serverless.yml`:\n\n```\ncustom:\n  lambda:\n    host: 0.0.0.0\n    port: 1234\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarconi1992%2Fserverless-offline-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarconi1992%2Fserverless-offline-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarconi1992%2Fserverless-offline-lambda/lists"}