@dymo-api/better-auth

中文文档
1.2.33发布于 2026/03/13Apache-2.0TypeScriptESM + CJS近 30 天下载 3321

Flow system for Dymo API.

原始使用文档

Dymo API for Better-Auth

Official Dymo API Library for Better-Auth

GitHub Kofi

Quickstart   •   Discord   •   All Features   •   Node SDK   •   FAQ

You can see the library documentation by clicking here.

  • ✅ World's largest fraud validation database | [email protected] -> Blocked.
  • ✅ Fraud validation for personal emails and OAuth (the only one on the market today) | [email protected] -> Blocked.
  • ✅ Multi-data validation at no additional cost | Validate email addresses, phone numbers, and more at no additional cost, all in one place.
  • ✅ Data normalization | [email protected] -> [email protected] (can be disabled with normalize: false).

Installation

Use one of the following commands to install Dymo API in your TS/JS project.

npm cache clean --force && npm i @dymo-api/better-auth

# or

pnpm cache clean --force && pnpm i @dymo-api/better-auth

# or

yarn cache clean --force && yarn add @dymo-api/better-auth

Authenticating ourselves on the client with the API Key

Get my free API Key

Email Validation

export const auth = betterAuth({
    plugins: [
        dymoEmailPlugin({
            apiKey: "YOUR_API_KEY_HERE",
            emailRules: {
                deny: ["FRAUD", "INVALID", "NO_REPLY_EMAIL"]
            }
            // normalize: true (default) - Set to false to disable email normalization
        })
    ]
});

IP Validation (Experimental)

export const auth = betterAuth({
    plugins: [
        dymoIPPlugin({
            apiKey: "YOUR_API_KEY_HERE",
            ipRules: {
                deny: ["FRAUD", "INVALID", "TOR_NETWORK"]
            }
            // normalize: true (default) - Set to false to disable IP normalization
        })
    ]
});

Phone Validation

export const auth = betterAuth({
    plugins: [
        dymoPhonePlugin({
            apiKey: "YOUR_API_KEY_HERE",
            phoneRules: {
                deny: ["FRAUD", "INVALID"]
            }
            // normalize: true (default) - Set to false to disable phone normalization
        })
    ]
});

More types of validations coming soon to keep you protected.

Frequently Asked Questions

Email mismatch error when logging in with Google and others

Dymo API normalizes the email by default, removing, for example, the . and + from the email based on the specific provider, which means that if you are not also normalizing the email in the login via OAuth, you will get a mismatch error.

To do this, you have two options: the first and correct one would be to also normalize the login email, and the second would be to disable normalization using normalize: false.

版本与发布记录

@dymo-api/better-auth 共发布 21 个版本,首次发布于 2025/10/01;过去 12 个月发布了 7 个版本。

版本发布日期距今
1.2.33latest2026/03/138 个月前
1.2.322026/01/259 个月前
1.2.312026/01/259 个月前
1.2.302026/01/229 个月前
1.2.292026/01/229 个月前
1.2.282026/01/229 个月前

关于 @dymo-api/better-auth 的常见问题

@dymo-api/better-auth 是什么?

Flow system for Dymo API.

如何安装 @dymo-api/better-auth?

在项目目录运行 npm install @dymo-api/better-auth,或使用 pnpm add / yarn add / bun add。

@dymo-api/better-auth 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@dymo-api/better-auth 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@dymo-api/better-auth 可以商用吗?

@dymo-api/better-auth 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@dymo-api/better-auth 的下载量有多少?

根据 npm 官方下载统计,@dymo-api/better-auth 在 2026/10/13 – 2026/11/11 这 30 天内被下载 3,321 次,日均约 111 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@dymo-api/better-auth 还在维护吗?

最新版本 1.2.33 发布于 2026/03/13(8 个月前);至今共发布 21 个版本,其中过去 12 个月发布了 7 个;首次发布于 2025/10/01。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。