11 releases

0.1.19 Oct 15, 2024
0.1.18 Aug 20, 2024

#344 in Internationalization (i18n)

25 downloads per month
Used in 2 crates

MulanPSL-2.0

19KB
310 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 dir = "/tmp";
  let result = npmv::cache::latest(pkg, &dir).await?;
  info!("{} {}", result, dir);
  OK
}

About

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

关于

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

Dependencies

~10–22MB
~333K SLoC