npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@logto/connector-smsbao-sms

v1.1.1

Published

SMSBao SMS connector implementation.

Readme

短信宝短信连接器

短信宝短信服务 Logto 官方连接器。

开始使用

短信宝是一家短信服务提供商。该连接器用于将 Logto 接入短信宝国内短信 API,帮助终端用户通过短信验证码完成登录、注册、重置密码等验证流程。

在短信宝中配置

创建短信宝账号

访问短信宝官网注册账号,并完成短信服务所需的账号配置。

获取凭证

准备以下短信宝配置:

  • 用户名:短信宝账号用户名。
  • API Key 或 MD5 密码:推荐使用短信宝 API Key;也可以使用短信宝登录密码的 MD5 值。
  • 产品 ID:可选。仅在使用短信宝专用通道产品时填写。

该连接器会原样发送 API Key 或 MD5 密码,不会在 Logto 中再次哈希。

配置短信模板

在短信宝后台创建并审核通过短信模板后再使用该连接器。Logto 中配置的模板内容应与短信宝审核通过的内容一致,并使用 {{code}} 等 Logto 占位符。

在 Logto 中配置

  1. 在 Logto 管理控制台中转到“连接器”。
  2. 找到并点击“短信宝短信服务”。
  3. 在配置表单中填入:
    • 用户名:短信宝用户名。
    • API Key 或 MD5 密码:短信宝 API Key 或已 MD5 的密码。
    • 产品 ID:可选的专用通道产品 ID。
    • 短信模板:按 Logto 用途配置短信模板。

注意事项

  1. 该连接器仅支持短信宝国内短信发送。
  2. 余额查询、上行短信推送、国际短信和语音验证码 API 不在该连接器范围内。
  3. 短信宝返回 0 表示发送成功,其他返回码会被视为发送错误。
  4. 建议在正式使用前测试连接器配置。

参考