{"_id":"tigrmail","_rev":"18-eb64d48c3d7a6c5ad479664bf4ff245a","name":"tigrmail","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"tigrmail","version":"1.0.0","keywords":["email","verification","link","detection"],"author":"","license":"MIT","_id":"tigrmail@1.0.0","maintainers":[{"name":"hard.rese7","email":"hard.rese7@gmail.com"}],"dist":{"shasum":"4225e3a86ccab7964831eb105608c4d157213193","tarball":"https://registry.npmjs.org/tigrmail/-/tigrmail-1.0.0.tgz","fileCount":18,"integrity":"sha512-m7KzOcxZXpFYXAseVQHUm3Ra5SLHZmUfMmAsO4JJt/Rijhp7GadhJGdn2Zy3FWOql5kjy0xsyJ5FrFO/unz+YA==","signatures":[{"sig":"MEQCIG7QHs0MVp14A60eZu5q3yuI+2Ce/5iobycYUsLJNpMYAiACGCVNV/E/PtyrtXzfCejIz8pwMbTKADebPmTE9iGyYg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13700},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b86ed7921039d1bf477063fe948708ee4fe0e9ac","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"hard.rese7","email":"hard.rese7@gmail.com"},"_npmVersion":"10.2.3","description":"A package for email verification","directories":{},"_nodeVersion":"18.19.0","dependencies":{"axios":"^1.9.0","axios-retry":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12"},"_npmOperationalInternal":{"tmp":"tmp/tigrmail_1.0.0_1746454498348_0.020860860531535907","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"tigrmail","version":"1.0.6","keywords":["email","verification","link","detection"],"author":"","license":"MIT","_id":"tigrmail@1.0.6","maintainers":[{"name":"hard.rese7","email":"hard.rese7@gmail.com"}],"homepage":"https://tigrmail.com","bugs":{"url":"https://github.com/furionix-labs/tigrmail/issues"},"dist":{"shasum":"39dada0f69a828217211701342bf904b4d31b8ff","tarball":"https://registry.npmjs.org/tigrmail/-/tigrmail-1.0.6.tgz","fileCount":18,"integrity":"sha512-ksqDINYjSGDDkKG1L0TwJrA5DVnpHJy09hmMYjRAPzWF68+3F9am3BQPkUVHxuHhESg9UJNNE9lIbqoT4A1V9w==","signatures":[{"sig":"MEQCIGqMXi22NF2u6XAoc4b/VKAf8dlAwBUMWTtTvfcbvYwrAiBH0bIIJbbwp+JrcZLJln++zyNrz2l2wGGAtmEEC0Mx4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12892},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"efd3d4d3d1190ba5d315763eebb5d27118b150ed","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"hard.rese7","email":"hard.rese7@gmail.com"},"repository":{"url":"git+https://github.com/furionix-labs/tigrmail.git","type":"git"},"_npmVersion":"10.2.3","description":"A package for email verification","directories":{},"_nodeVersion":"18.19.0","dependencies":{"axios":"^1.9.0","axios-retry":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12"},"_npmOperationalInternal":{"tmp":"tmp/tigrmail_1.0.6_1747063228447_0.5732330829787518","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"tigrmail","version":"1.0.8","keywords":["tigrmail","temporary email","disposable email","e2e testing","playwright","cypress","automated testing","test email","email testing","email api","integration testing"],"author":"","license":"MIT","_id":"tigrmail@1.0.8","maintainers":[{"name":"hard.rese7","email":"hard.rese7@gmail.com"}],"homepage":"https://tigrmail.com","bugs":{"url":"https://github.com/furionix-labs/tigrmail/issues"},"dist":{"shasum":"52f1b6e8218a827514361caf341bf160ea9e4e35","tarball":"https://registry.npmjs.org/tigrmail/-/tigrmail-1.0.8.tgz","fileCount":18,"integrity":"sha512-M96Xk6AUf3kkH8gegDZboE5/4ONB4JSYU2/c3NQyyY2TQE00/iMfpc1zHlMyfHRNA1yvCV883GuIx7YKWrlvIA==","signatures":[{"sig":"MEYCIQCVZ+A7VTZFlGU9ucWCO6GRCNPtr5RUHu5gj0dM6bbpNwIhAMhN/GxWf+Tl71tZIJtqBSAHDpmk95+FrI2KPIAkfvV7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13277},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f62f611afe3cb869b05739374a0f33af9debd497","scripts":{"test":"jest","build":"tsc","release":"npm run -s build -s && git commit -am $npm_package_version && git tag v$npm_package_version && git push && git push --tags && npm publish"},"_npmUser":{"name":"hard.rese7","email":"hard.rese7@gmail.com"},"repository":{"url":"git+https://github.com/furionix-labs/tigrmail.git","type":"git"},"_npmVersion":"10.2.3","description":"API client for creating temporary email addresses to use in your E2E tests with Playwright, Cypress, and other frameworks.","directories":{},"_nodeVersion":"18.19.0","dependencies":{"axios":"^1.9.0","axios-retry":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12"},"_npmOperationalInternal":{"tmp":"tmp/tigrmail_1.0.8_1747405292134_0.7671241277460354","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"tigrmail","version":"1.0.9","keywords":["tigrmail","temporary email","disposable email","e2e testing","playwright","cypress","automated testing","test email","email testing","email api","email verification","email-verification","email","verification","integration testing"],"author":"","license":"MIT","_id":"tigrmail@1.0.9","maintainers":[{"name":"hard.rese7","email":"hard.rese7@gmail.com"}],"homepage":"https://tigrmail.com","bugs":{"url":"https://github.com/furionix-labs/tigrmail/issues"},"dist":{"shasum":"81fbab526001425d994cbb22090e04eb2a92835d","tarball":"https://registry.npmjs.org/tigrmail/-/tigrmail-1.0.9.tgz","fileCount":15,"integrity":"sha512-/FSOLcCPDAoN4e4OK9yGLvGqbC18vZBSS9vl6D/dGKwf4QUzcnNqqH5n7garidKD/AXjXYq6zYyIMYYbnP83Fg==","signatures":[{"sig":"MEYCIQC5jkcIHVWtBekDpAS5xDWlpPUM0rJvwexrSNCO0O9I/gIhAKsbCKtUgGGDYe9uO2IMVtmI3SGgC8Q8F8PUzJd2HfW/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11895},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d798f4800280d517bb5b82d9ab785033a8b65bca","scripts":{"test":"jest","build":"tsc","release":"npm run -s build -s && git commit -am $npm_package_version && git tag v$npm_package_version && git push && git push --tags && npm publish"},"_npmUser":{"name":"hard.rese7","email":"hard.rese7@gmail.com"},"repository":{"url":"git+https://github.com/furionix-labs/tigrmail.git","type":"git"},"_npmVersion":"10.2.3","description":"API client for creating temporary email addresses to use in your E2E tests with Playwright, Cypress, and other frameworks.","directories":{},"_nodeVersion":"18.19.0","dependencies":{"axios":"^1.9.0","axios-retry":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12"},"_npmOperationalInternal":{"tmp":"tmp/tigrmail_1.0.9_1747717884177_0.884151185594739","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"tigrmail","version":"1.0.10","keywords":["tigrmail","temporary email","disposable email","e2e testing","playwright","cypress","automated testing","test email","email testing","email api","email verification","email-verification","email","verification","integration testing"],"author":"","license":"MIT","_id":"tigrmail@1.0.10","maintainers":[{"name":"hard.rese7","email":"hard.rese7@gmail.com"}],"homepage":"https://tigrmail.com","bugs":{"url":"https://github.com/furionix-labs/tigrmail/issues"},"dist":{"shasum":"acbcdf47c0e041fde94295f2443df8531ae49ebf","tarball":"https://registry.npmjs.org/tigrmail/-/tigrmail-1.0.10.tgz","fileCount":15,"integrity":"sha512-c52PIkaV66Tk0T9PtEzZDiYjHVk8B6AyswaVowurftBJoN15P9XRN9Qd5s+V6YbD0V8EJ/SZmIxu1Awurc3jhA==","signatures":[{"sig":"MEUCIEfumz61eZzq+fUZoYMngHXCXtQRs3iTiWlDyoMR4kdRAiEAgSog4NYikgi2ko5BhBGg0i6NInYR1DpXAmdQ4nipTik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12357},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"09e49447126159b73c844c488fbce0bc082517bb","scripts":{"test":"jest","build":"tsc","release":"npm run -s build -s && git commit -am $npm_package_version && git tag v$npm_package_version && git push && git push --tags && npm publish"},"_npmUser":{"name":"hard.rese7","email":"hard.rese7@gmail.com"},"repository":{"url":"git+https://github.com/furionix-labs/tigrmail.git","type":"git"},"_npmVersion":"10.8.2","description":"API client for creating temporary email addresses to use in your E2E tests with Playwright, Cypress, and other frameworks.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"axios":"^1.9.0","form-data":"^4.0.6","axios-retry":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12"},"_npmOperationalInternal":{"tmp":"tmp/tigrmail_1.0.10_1781851898384_0.24346740888632068","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"tigrmail","version":"1.1.0","description":"API client for creating temporary email addresses to use in your E2E tests with Playwright, Cypress, and other frameworks.","homepage":"https://tigrmail.com","repository":{"type":"git","url":"git+https://github.com/furionix-labs/tigrmail.git"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","test":"jest","release":"npm run -s build -s && git commit -am $npm_package_version && git tag v$npm_package_version && git push && git push --tags && npm publish"},"keywords":["tigrmail","temporary email","disposable email","e2e testing","playwright","cypress","automated testing","test email","email testing","email api","email verification","email-verification","email","verification","integration testing"],"author":"","license":"MIT","devDependencies":{"@types/jest":"^29.5.12","jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.3.3"},"dependencies":{"axios":"^1.9.0","axios-retry":"^4.5.0","form-data":"^4.0.6"},"_id":"tigrmail@1.1.0","gitHead":"3171edba0a936d395dc17a0c1a9a7d0284c7e9ab","bugs":{"url":"https://github.com/furionix-labs/tigrmail/issues"},"_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-naABMAkJXH7ZQmK4xgsFhKWJWDLuUy01h55ZBaTdaq0zDQuLzI2n0LEus3jeW73dHZTsh2oLL8hDOV8VJu4Cuw==","shasum":"a5b186c84b726d899560afa7297130dfe31f7201","tarball":"https://registry.npmjs.org/tigrmail/-/tigrmail-1.1.0.tgz","fileCount":17,"unpackedSize":14051,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBuFt8sDZZNgXXMOfrBFKsX2Rjpjr1H+HE4T+fKr5IXXAiEAzRV8lEJqTlVLnFKHTHl7hkHjAm7eDsAYQlvUoqLS4k4="}]},"_npmUser":{"name":"hard.rese7","email":"hard.rese7@gmail.com"},"directories":{},"maintainers":[{"name":"hard.rese7","email":"hard.rese7@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tigrmail_1.1.0_1783862620026_0.5712582306042884"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-05T14:14:58.249Z","modified":"2026-07-12T13:23:40.284Z","1.0.0":"2025-05-05T14:14:58.523Z","1.0.1":"2025-05-12T14:33:37.344Z","1.0.2":"2025-05-12T14:38:44.110Z","1.0.3":"2025-05-12T14:41:07.431Z","1.0.4":"2025-05-12T14:59:46.962Z","1.0.5":"2025-05-12T15:12:53.014Z","1.0.6":"2025-05-12T15:20:28.636Z","1.0.7":"2025-05-16T13:48:28.936Z","1.0.8":"2025-05-16T14:21:32.292Z","1.0.9":"2025-05-20T05:11:24.349Z","1.0.10":"2026-06-19T06:51:38.538Z","1.1.0":"2026-07-12T13:23:40.168Z"},"bugs":{"url":"https://github.com/furionix-labs/tigrmail/issues"},"license":"MIT","homepage":"https://tigrmail.com","keywords":["tigrmail","temporary email","disposable email","e2e testing","playwright","cypress","automated testing","test email","email testing","email api","email verification","email-verification","email","verification","integration testing"],"repository":{"type":"git","url":"git+https://github.com/furionix-labs/tigrmail.git"},"description":"API client for creating temporary email addresses to use in your E2E tests with Playwright, Cypress, and other frameworks.","maintainers":[{"name":"hard.rese7","email":"hard.rese7@gmail.com"}],"readme":"<p align=\"center\">\n  <img src=\"https://tigrmail.com/logo@3x.webp\" alt=\"Tigrmail Logo\" width=\"200\" />\n</p>\n\n<p align=\"center\">\n  <a href=\"https://tigrmail.com?utm_source=github&utm_medium=readme\">Website</a> |\n  <a href=\"https://docs.tigrmail.com\">API Docs</a> |\n  <a href=\"https://github.com/furionix-labs/playwright-email-verification-example\">Demo</a>\n</p>\n\n# Tigrmail SDK\n\nTigrmail SDK is a Node.js library for automating email verification workflows. It allows you to generate temporary inboxes and poll for email messages with customizable filters. This library is ideal for testing email-based features or automating email verification processes.\n\n> If you are working in a different programming language, you can still access all features by integrating directly with [our API](https://docs.tigrmail.com).\n\n\n## Features\n\n- Generate temporary inboxes.\n- List available inbox domains and create inboxes on a selected domain.\n- Poll for the next email message with advanced filtering options (e.g., by subject, sender email, or domain).\n- Built-in error handling for API interactions.\n- Automatic retry logic for HTTP requests.\n\n## Installation\n```bash\nnpm install -D tigrmail\n```\nor\n```bash\nyarn add -D tigrmail\n```\n\n## Usage\n\n### Importing the Library\n\n```typescript\nimport { Tigrmail } from 'tigrmail';\n```\n\n### Creating an Instance\n\nTo use the library, retrieve your API token from [our console](https://console.tigrmail.com?utm_source=github&utm_medium=readme) and create a `Tigrmail` instance using that token:\n\n```typescript\nconst tigrmail = new Tigrmail({ token: 'your-api-token' });\n```\n\n### Generating a Temporary Inbox\n\n```typescript\nconst emailAddress: string = await tigrmail.createEmailAddress();\nconsole.log(emailAddress); // <random-email-address>@<domain>\n```\n\n### Selecting a Domain\n\n```typescript\nconst domains: string[] = await tigrmail.getDomains();\nconsole.log(domains); // [\"den.tigrmail.com\"]\n\nconst emailAddress: string = await tigrmail.createEmailAddress({\n  domain: domains[0],\n});\n\nconsole.log(emailAddress);\n```\n\n### Polling for the Next Email Message\n\nYou can poll for the next email message using filters:\n\n```typescript\nconst message = await tigrmail.pollNextMessage({\n  inbox: emailAddress,\n  subject: { contains: 'Verification' },\n  from: { email: 'noreply@example.com' },\n});\n\nconsole.log(`Received email: ${message.subject}`);\n```\n\n### Playwright Integration Example\n\nFor a complete example of using Tigrmail SDK with Playwright for automated email verification testing, check out our [Playwright Email Verification Example](https://github.com/furionix-labs/playwright-email-verification-example).\n\n## Error Handling\n\nThe library throws `TigrmailError` for API-related issues. You can catch and handle these errors as follows:\n\n```typescript\ntry {\n  const inbox = await tigrmail.createEmailAddress();\n} catch (error) {\n  if (error instanceof TigrmailError) {\n    console.error('Error:', error.generalMessage);\n  } else {\n    console.error('Unexpected error:', error);\n  }\n}\n```\n\n## License\n\nThis project is licensed under the MIT License.\n","readmeFilename":"README.md"}