{"id":18473152,"url":"https://github.com/xedi/libraries-js-mailtrap","last_synced_at":"2025-05-12T18:58:22.380Z","repository":{"id":37850934,"uuid":"204934407","full_name":"xedi/libraries-js-mailtrap","owner":"xedi","description":"API Wrapper for Mailtrap","archived":false,"fork":false,"pushed_at":"2022-12-06T14:38:43.000Z","size":709,"stargazers_count":1,"open_issues_count":21,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T14:10:58.074Z","etag":null,"topics":["api-wrapper","js","mailtrap"],"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/xedi.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":"2019-08-28T13:08:42.000Z","updated_at":"2022-04-11T19:13:16.000Z","dependencies_parsed_at":"2023-01-24T02:00:59.995Z","dependency_job_id":null,"html_url":"https://github.com/xedi/libraries-js-mailtrap","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xedi%2Flibraries-js-mailtrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xedi%2Flibraries-js-mailtrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xedi%2Flibraries-js-mailtrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xedi%2Flibraries-js-mailtrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xedi","download_url":"https://codeload.github.com/xedi/libraries-js-mailtrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805843,"owners_count":21967052,"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":["api-wrapper","js","mailtrap"],"created_at":"2024-11-06T10:23:47.991Z","updated_at":"2025-05-12T18:58:22.357Z","avatar_url":"https://github.com/xedi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mailtrap API Wrapper\n\n[![Actions Status](https://github.com/xedi/libraries-js-mailtrap/workflows/Node%20CI/badge.svg)](https://github.com/xedi/libraries-js-mailtrap/actions)\n[![Dependabot Status](https://api.dependabot.com/badges/status?host=github\u0026identifier=204934407)](https://app.dependabot.com/accounts/xedi/repos/204934407)\n\n## Installation\n\nInstall via NPM.\n\n```shell\nnpm install --save @xedi/mailtrap\n```\n\n## Usage\n\n```js\nimport Mailtrap from 'mailtrap';\n\n// pass in your API Token\nMailtrap.setApiToken(process.env.MAILTRAP_API_TOKEN);\n\n// You can also set a alternative URL for your Mailtrap service\n// though this has a default of https://mailtrap.io\nMailtrap.setMailtrapUrl(process.env.MAILTRAP_URL);\n\n// To access an inbox call it from the Mailtrap Facade.\nconst inbox = await Mailtrap.inbox(process.env.MY_INBOX_ID);\n\n// You can also list all inboxes attached to the account\nconst inboxes = await Mailtrap.inboxes();\n\n```\n---\n\nMade with 🤬 and 🍺 for @Jonny-webedi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxedi%2Flibraries-js-mailtrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxedi%2Flibraries-js-mailtrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxedi%2Flibraries-js-mailtrap/lists"}