{"id":21182098,"url":"https://github.com/dkunin/secret-santa-module","last_synced_at":"2026-03-04T17:31:24.541Z","repository":{"id":65493654,"uuid":"47761865","full_name":"DKunin/secret-santa-module","owner":"DKunin","description":"Node module to scrabble list of emails and send messages via Mail gun","archived":false,"fork":false,"pushed_at":"2016-03-10T19:38:20.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-09T13:57:17.159Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/DKunin.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":"2015-12-10T13:00:14.000Z","updated_at":"2020-11-28T06:54:24.000Z","dependencies_parsed_at":"2023-01-25T21:05:11.059Z","dependency_job_id":null,"html_url":"https://github.com/DKunin/secret-santa-module","commit_stats":null,"previous_names":["dkunin/secret-santa-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DKunin%2Fsecret-santa-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DKunin%2Fsecret-santa-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DKunin%2Fsecret-santa-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DKunin%2Fsecret-santa-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DKunin","download_url":"https://codeload.github.com/DKunin/secret-santa-module/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225606641,"owners_count":17495551,"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-20T17:55:45.582Z","updated_at":"2026-03-04T17:31:24.484Z","avatar_url":"https://github.com/DKunin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secret Santa Module\n\n## Installation\n\n      npm i secret-santa-module -S\n\n## Usage\n```javascript\n  var fs = require('fs');\n  var path = require('path');\n  var list = fs.readFileSync(path.resolve('./test-list.csv')).toString();\n  var santaModule = require('secret-santa-module');\n  \n  // Your MailGun Credentials\n  var auth = {\n    api_key: \u003cYOUR API KEY\u003e,\n    domain: \u003cYOUR DOMAIN\u003e\n  };\n\n  santaModule(list, {\n      auth: auth,\n      debug: false,\n      template: '\u003cdiv\u003e\u003ch2\u003eCustom template!\u003c/h2\u003e\u003cdiv\u003eYou should prepeare for \u003ch3\u003e{%=o.to%}\u003c/h3\u003e\u003c/div\u003e\u003c/div\u003e'\n  });\n```\n## List Example\n\n      // NOTE : The first line is mandatory\n      Name,e-mail\n      Barry Allen,flash@dccomics.com\n      Wally West ,kidflash@dccomics.com\n\n## Sent message\n  \n  You should prepare a present for:\n  Wally West (kidflash@dccomics.com)\n\n## Changelog\n\n### 3.2.0\n- Breaking changes: replaced jade templater for simple string templater\n- Breaking changes: removed jade\n- Breaking changes: removed ramda\n\n### 3.0.0\n- Breaking changes: you should provide csv string instead of a filename\n- You can provide custom template option jade string\n\n## TODO \n- ~~Custom templates~~\n- Templates without jade or Automatic conversation from HTML to jade","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkunin%2Fsecret-santa-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkunin%2Fsecret-santa-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkunin%2Fsecret-santa-module/lists"}