{"id":34676141,"url":"https://github.com/prince0xdev/mailzeet-ts","last_synced_at":"2026-01-13T20:42:00.492Z","repository":{"id":330211734,"uuid":"1120693615","full_name":"prince0xdev/mailzeet-ts","owner":"prince0xdev","description":"Community-driven TypeScript SDK for the Mailzeet API.","archived":false,"fork":false,"pushed_at":"2025-12-24T18:44:29.000Z","size":66,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-25T11:57:26.805Z","etag":null,"topics":["api","mailzeet","nodejs","npm-package","sdk","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mailzeet-ts","language":"TypeScript","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/prince0xdev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-21T18:45:49.000Z","updated_at":"2025-12-24T18:32:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/prince0xdev/mailzeet-ts","commit_stats":null,"previous_names":["prince0xdev/mailzeet-ts"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/prince0xdev/mailzeet-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prince0xdev%2Fmailzeet-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prince0xdev%2Fmailzeet-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prince0xdev%2Fmailzeet-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prince0xdev%2Fmailzeet-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prince0xdev","download_url":"https://codeload.github.com/prince0xdev/mailzeet-ts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prince0xdev%2Fmailzeet-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28399934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","mailzeet","nodejs","npm-package","sdk","typescript"],"created_at":"2025-12-24T20:52:57.094Z","updated_at":"2026-01-13T20:42:00.480Z","avatar_url":"https://github.com/prince0xdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mailzeet TypeScript SDK\n\n**Community-driven TypeScript SDK** for the **Mailzeet API**.  \nSend transactional emails easily using TypeScript or JavaScript with type safety and minimal setup.\n\n---\n\n## Features\n\n- TypeScript first (full typings included)\n- Modular API (`emails`, `templates`, future modules)\n- Native `fetch` based HTTP client\n- Zero external runtime dependencies\n- Simplified payloads (`from`/`to`, etc...) with automatic parsing\n- Alpha status — API may change\n\n## Installation\n\nYou can install using **npm**, **yarn**, **bun**, or directly via **CDN**.\n\n### Using npm\n\n```bash\nnpm install mailzeet-ts\n```\n\n### Using yarn\n\n```bash\nyarn add mailzeet-ts\n```\n\n### Using bun\n\n```bash\nbun add mailzeet-ts\n```\n\n### Using a CDN (for browser and recommand for dev mode only)\n\n```html\n\u003cscript type=\"module\"\u003e\n  import { MailzeetClient } from \"https://cdn.jsdelivr.net/npm/mailzeet-ts/dist/index.js\";\n\u003c/script\u003e\n```\n\n---\n\n## Usage\n\n### Node.js / TypeScript\n\n```ts\nimport { MailzeetClient } from \"mailzeet-ts\";\n\nconst apiKey = process.env.MAILZEET_API_KEY!;\n\n// Initialize client\nconst mailzeet = new MailzeetClient(apiKey);\n\n// Send an email\nawait mailzeet.emails.send({\n  from: \"hello@acme.com\",\n  to: \"user@gmail.com\",\n  subject: \"Welcome\",\n  html: \"\u003ch1\u003eHello\u003c/h1\u003e\",\n});\n```\n\n### Browser / Frontend\n\n```ts\nimport { MailzeetClient } from \"mailzeet-ts\";\n\nconst mailzeet = new MailzeetClient(\"YOUR_API_KEY_HERE\");\n\ndocument.getElementById(\"email-form\")?.addEventListener(\"submit\", async (e) =\u003e {\n  e.preventDefault();\n\n  const to = (document.getElementById(\"to\") as HTMLInputElement).value;\n  const subject = (document.getElementById(\"subject\") as HTMLInputElement)\n    .value;\n  const html = (document.getElementById(\"html\") as HTMLTextAreaElement).value;\n  const result = document.getElementById(\"result\") as HTMLPreElement;\n\n  try {\n    const response = await mailzeet.emails.send({\n      from: \"hello@acme.com\",\n      to,\n      subject,\n      html,\n    });\n    result.textContent = JSON.stringify(response, null, 2);\n  } catch (err: unknown) {\n    result.textContent = err instanceof Error ? err.message : \"Unknown error\";\n  }\n});\n```\n\n## Payloads\n\nYou can send emails using a **simplified payload**:\n\n```ts\nawait mailzeet.emails.send({\n  from: \"hello@acme.com\", // Sender email\n  to: \"user@gmail.com\", // Recipient email\n  cc: \"cc@example.com\", // Optional CC\n  bcc: \"bcc@example.com\", // Optional BCC\n  replyTo: \"replyto@example.com\", // Optional reply-to\n  subject: \"Welcome\", \n  temlateId: \"idhFGDhlxxhd\",\n  text: \"Hello world\", // Optional plain text\n  html: \"\u003ch1\u003eHello world\u003c/h1\u003e\", // Optional HTML\n  params: { company: \"Acme\" }, // Dynamic template params\n});\n```\n\nThe SDK **automatically converts** `from` and `to` into the format expected by the Mailzeet API (`sender`, `recipients`).\n\n## Contributing\n\nWe welcome contributions!\nPlease:\n\n1. Fork the repository\n2. Create a feature branch\n3. Submit a pull request\n4. Don't forget reading the [contributions guidelines](CONTRIBUTING.md)\n\n\u003e Make sure to follow TypeScript typings and write tests using Vitest.\n\n## License\n\n[MIT Licence](LICENCE.md)\n\n\n## Changelog\n\n[CHANGELOG](CHANGELOG.md)\n\n## Links\n\n- [GitHub](https://github.com/prince0xdev/mailzeet-ts)\n- [NPM Package](https://www.npmjs.com/package/mailzeet-ts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprince0xdev%2Fmailzeet-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprince0xdev%2Fmailzeet-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprince0xdev%2Fmailzeet-ts/lists"}