{"id":18743310,"url":"https://github.com/rimiti/node-lambda-functions","last_synced_at":"2026-04-10T21:03:43.312Z","repository":{"id":89492997,"uuid":"95866435","full_name":"rimiti/node-lambda-functions","owner":"rimiti","description":"Node AWS lambda function project","archived":false,"fork":false,"pushed_at":"2018-05-23T08:46:11.000Z","size":65,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-28T19:42:49.153Z","etag":null,"topics":["aws","lambda","lambda-functions","node"],"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/rimiti.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":"2017-06-30T08:21:54.000Z","updated_at":"2018-01-31T11:11:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"3da6ef29-3eb3-4269-b203-8138a9898cc1","html_url":"https://github.com/rimiti/node-lambda-functions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Fnode-lambda-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Fnode-lambda-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Fnode-lambda-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Fnode-lambda-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rimiti","download_url":"https://codeload.github.com/rimiti/node-lambda-functions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627143,"owners_count":19670843,"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":["aws","lambda","lambda-functions","node"],"created_at":"2024-11-07T16:10:59.829Z","updated_at":"2025-11-21T15:30:18.692Z","avatar_url":"https://github.com/rimiti.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-lambda-functions [![Dependency Status](https://www.versioneye.com/user/projects/595a15cb6725bd002f1b82bd/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/595a15cb6725bd002f1b82bd)\n\nCreate your own functions and upload them on AWS.\n\n# Install\n```\n$ git clone https://github.com/rimiti/node-lambda-functions.git\n```\n\n## How it works ?\nFor each folder:\n- Each folders present in `./src` directory is a lambda function.\n- Each functions must have a `package.json` file with his all dependencies included.\n- Each functions must have a `index.js` as entry point.\n- Each functions must have a `test.js` to simulate a launch.\n- Each functions must have a `json` as event object. \n\n## Example\n\n### usersCsvExport\nExport SQL results in a csv file, send it by mail and saves file on S3.\nThe function triggers each event generated by Cloudwatch, which must be configured to send an event with the following json data:\n```json\n{\n  \"query\": \"SELECT * FROM db.users\",\n  \"bucket\": \"users.export\",\n  \"filename\": \"exportUtilisateur\",\n  \"email\": {\n    \"from\": \"Dim Solution \u003cno-reply@dimsolution.com\u003e\",\n    \"to\": \"dimitri.dobairro@dimsolution.com\",\n    \"cc\": \"contact@dimsolution.com\",\n    \"subject\": \"Export utilisateur\",\n    \"html\": \"\u003cp\u003eHello,\u003c/p\u003e\u003cp\u003ePlease find attached users export file. \u003cbr\u003e\u003cbr\u003e\u003c/p\u003e\u003csmall\u003e\u003ci\u003eThis is an automatic email, please do not reply.\u003c/i\u003e\u003c/small\u003e\"\n  }\n}\n```\n\n## Upload your function\n```js\ngulp deploy --functionName usersCsvExport\n```\n\n## Tag\n```js\ngulp tag:patch   // Makes v0.1.0 → v0.1.1\ngulp tag:feature // Makes v0.1.1 → v0.2.0\ngulp tag:release // Makes v0.2.1 → v1.0.0\n```\n\n## Tests\n```js\n// Run tests\ngulp mocha\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimiti%2Fnode-lambda-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frimiti%2Fnode-lambda-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimiti%2Fnode-lambda-functions/lists"}