10 releases

0.1.18 Aug 20, 2024
0.1.17 Aug 20, 2024

#401 in Internationalization (i18n)

Download history 809/week @ 2024-08-18 21/week @ 2024-08-25 7/week @ 2024-09-01

837 downloads per month
Used in 2 crates

MulanPSL-2.0

11KB
139 lines

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
}

About

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

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

Dependencies

~12–24MB
~354K SLoC