{"id":20324919,"url":"https://github.com/xeeo/nc-lambda-service","last_synced_at":"2026-06-08T19:01:57.801Z","repository":{"id":57309165,"uuid":"75819568","full_name":"xeeo/nc-lambda-service","owner":"xeeo","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-07T09:19:40.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T21:10:08.108Z","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/xeeo.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}},"created_at":"2016-12-07T09:17:45.000Z","updated_at":"2017-01-11T10:47:35.000Z","dependencies_parsed_at":"2022-08-26T12:52:04.212Z","dependency_job_id":null,"html_url":"https://github.com/xeeo/nc-lambda-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xeeo/nc-lambda-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeeo%2Fnc-lambda-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeeo%2Fnc-lambda-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeeo%2Fnc-lambda-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeeo%2Fnc-lambda-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xeeo","download_url":"https://codeload.github.com/xeeo/nc-lambda-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeeo%2Fnc-lambda-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-14T19:38:10.222Z","updated_at":"2026-06-08T19:01:57.777Z","avatar_url":"https://github.com/xeeo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nc-lambda-service\n\nA simple wrapper over AWS Lambda.\n\n## Usage\n\nThis library assumes that you deployed Lambda Functions through Serverless.\n\n```javascript\n'use strict';\n\nconst NcLambda      = require('nc-lambda-service');\nconst lambdaService = new NcLambda();\n\nlambdaService.configure({\n    accessKeyId    : '\u003caccessKeyId\u003e',\n    secretAccessKey: '\u003csecretAccessKey\u003e',\n    region         : 'us-east-1',\n    environment    : 'dev'\n});\n\nconst userService = ncLambda.getService('service-user');\n\nconst params = {\n    key: 'value'\n};\n\nuserService.invoke('create', prams)\n    .then(response =\u003e {\n        console.log(response);\n    });\n```\n\n* the Lambda function is \"service-user-dev-create\" and the service is a Serverless Service.\n* the NCLambda is Singleton. This means you configure it once in a global config and when requiring it in other sub modules it's still configured. It uses nc-singleton.\n\nTesting will follow.\n\nThat's it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxeeo%2Fnc-lambda-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxeeo%2Fnc-lambda-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxeeo%2Fnc-lambda-service/lists"}