10 个版本

0.1.18 2024年8月20日
0.1.17 2024年8月20日

#369国际化 (i18n)

Download history 1019/week @ 2024-08-17

1,019 每月下载量
2 个 Crates 中使用 (通过 npmi)

MulanPSL-2.0

11KB
139

npmv

use aok::{Result, OK};
use static_init::constructor;
use tracing::info;

#[constructor(0)]
extern "C" fn init() {
  loginit::init()
}

#[tokio::test]
async fn test() -> Result<()> {
  let pkg = "@3-/dbq";
  let v = npmv::latest(pkg).await?;
  info!("{}", v);
  npmv::tgz(pkg, v, "/tmp/test").await?;
  OK
}

关于

本项目是 i18n.site ⋅ 国际化解决方案 的开源组件。

关于

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

依赖项

~12–25MB
~353K SLoC