npm

next-translate

Tiny and powerful i18n tools (Next plugin + API) to translate your Next.js pages.

版本 2已同步 2文件 88 SRI 已生成
接入决策台 · 安全可信状态

先确认可用入口,再复制固定版本地址

入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。

推荐接入
安全分
88
最近扫描 2026-06-30
扫描覆盖
50%
44 / 88 文件
高危文件
0
0 条 critical
待复核
0
外联、混淆、敏感行为
推荐入口
暂无浏览器入口
SRI 待确认
SRI 缺失 0
当前版本 3.2.0
44 文件
44 JS / 0 CSS / 0 WASM
未发现阻断级风险
可在下方文件列表中查看原始构建产物
当前版本 44 个文件,2 个入口候选。未发现可疑外联域名。
使用路径
01确认版本

固定到 3.2.0,避免线上被隐式升级。

02复制地址

优先使用推荐入口,特殊场景再切换文件。

03检测可用

发布前检测 HTTP、CORS、SRI 和响应速度。

查看全部文件

快速接入

已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。

暂无可直接接入的浏览器入口文件,可在文件列表中查看原始构建产物。
2版本
88文件
3.2.0最新

CDN 地址生成器

选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。

文件类型
JS
文件大小
1.4 KB
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/next-translate/3.2.0/lib/cjs/index.js
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/next-translate/3.2.0/lib/cjs/index.js" integrity="sha256-11I9rrszqvR/fIOtHJOVhbm+Hn7U46q72DZXTRoIhPc=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
  import * as lib from "https://cdn.ptab.cn/cdn/next-translate/3.2.0/lib/cjs/index.js";
  console.log("module loaded", lib);
</script>

版本与文件

当前版本 3.2.0,展示 44 / 44 个文件。
next-translate/3.2.0/lib/cjs/index.js
JS
1.4 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/index.js
JS
1.4 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/AppDirI18nProvider.js
JS
404 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/appWithI18n.js
JS
5.6 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/context.js
JS
505 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/createTranslation.js
JS
1.4 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/DynamicNamespaces.js
JS
5.7 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/formatElements.js
JS
2.7 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/getConfig.js
JS
217 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/getPageNamespaces.js
JS
5.2 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/getT.js
JS
5.5 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/I18nProvider.js
JS
3.7 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/i18nRequestStore.js
JS
1.1 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/isServer.js
JS
171 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/loadNamespaces.js
JS
6.6 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/safePluralRules.js
JS
272 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/setLanguage.js
JS
3.3 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/Trans.js
JS
1.3 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/transCore.js
JS
7.6 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/TransText.js
JS
635 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/useTranslation.js
JS
1.4 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/withTranslation.js
JS
4.1 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/cjs/wrapTWithDefaultNs.js
JS
723 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/AppDirI18nProvider.js
JS
304 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/appWithI18n.js
JS
5.2 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/context.js
JS
244 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/createTranslation.js
JS
1.0 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/DynamicNamespaces.js
JS
4.4 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/formatElements.js
JS
1.5 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/getConfig.js
JS
126 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/getPageNamespaces.js
JS
5.1 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/getT.js
JS
5.1 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/I18nProvider.js
JS
2.2 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/i18nRequestStore.js
JS
929 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/isServer.js
JS
81 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/loadNamespaces.js
JS
6.3 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/safePluralRules.js
JS
175 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/setLanguage.js
JS
3.0 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/Trans.js
JS
1.0 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/transCore.js
JS
7.5 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/TransText.js
JS
356 B
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/useTranslation.js
JS
1.0 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/withTranslation.js
JS
3.8 KB
SRI ready
未分级
0 请求
next-translate/3.2.0/lib/esm/wrapTWithDefaultNs.js
JS
623 B
SRI ready
未分级
0 请求

库评论

还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。
发表评论

免登录提交。需要填写昵称和邮箱,并完成 TAC 行为验证;内容会自动审核,违规内容不会发布。