10 releases

0.1.18 Aug 20, 2024
0.1.17 Aug 20, 2024

#385 in Internationalization (i18n)

Download history 175/week @ 2024-08-12 655/week @ 2024-08-19 7/week @ 2024-09-02 29/week @ 2024-09-16 75/week @ 2024-09-23

111 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
~343K SLoC