{"id":19151418,"url":"https://github.com/sc5/aws-lambda-info","last_synced_at":"2025-06-29T23:38:31.577Z","repository":{"id":57188302,"uuid":"43063371","full_name":"SC5/aws-lambda-info","owner":"SC5","description":"Information on lambda process","archived":false,"fork":false,"pushed_at":"2015-09-24T18:49:45.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-06-11T05:07:58.878Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SC5.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":"2015-09-24T11:41:20.000Z","updated_at":"2015-09-26T03:30:57.000Z","dependencies_parsed_at":"2022-08-28T11:11:14.991Z","dependency_job_id":null,"html_url":"https://github.com/SC5/aws-lambda-info","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SC5/aws-lambda-info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Faws-lambda-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Faws-lambda-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Faws-lambda-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Faws-lambda-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SC5","download_url":"https://codeload.github.com/SC5/aws-lambda-info/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SC5%2Faws-lambda-info/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260439061,"owners_count":23009269,"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":[],"created_at":"2024-11-09T08:14:40.141Z","updated_at":"2025-06-29T23:38:31.552Z","avatar_url":"https://github.com/SC5.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-lambda-info NPM module\n\nA module for determining AWS Lambda function information.\nVersion and stage information can be determined from the lambda function name.\n\n## Use example\n\n### Example 1: default function naming (baseName_version_stage)\n    var lambdaInfo = require(\"aws-lambda-info\");\n                  \n    var funcName = lambdaInfo.fullName(); # e.g. myFunction_1.0.1_prod\n    var baseName = lambdaInfo.baseName(); # myFunction\n    var version = lambdaInfo.version();   # 1.0.1\n    var stage = lambdaInfo.stage();       # prod\n\n### Example 2: custom naming (e.g. stage:baseName:version)\n    var lambdaInfo = require(\"aws-lambda-info\");\n    lambdaInfo.init({\n        nameDelimiter: ':',  # Delimiter separating the name, stage, version\n        baseNamePos: 1,\n        stagePos: 0,\n        versionPos: -1        # -1: last, -2: second last...\n    });\n\n### Example 3: custom naming (e.g. stage:baseName)\n    lambdaInfo.init({\n        nameDelimiter: ':',  # Delimiter separating the name, stage, version\n        baseNamePos: 1,\n        stagePos: 0,\n        versionPos: null        # null: param not included in name\n    });\n\n    var version = lambdaInfo.version();  # (returns empty string)\n\n## Release History\n\n* 2015/09/24 - v0.1.0 - Initial version of module\n\n## License\n\nCopyright (c) 2015 [SC5](http://sc5.io/), licensed for users and contributors under MIT license.\nhttps://github.com/SC5/aws-lambda-info/blob/master/LICENSE\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/SC5/sc5-aws-lambda-info/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc5%2Faws-lambda-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsc5%2Faws-lambda-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc5%2Faws-lambda-info/lists"}