11 releases

0.1.19 Oct 15, 2024
0.1.18 Aug 20, 2024

#94 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 41/week @ 2024-09-23 5/week @ 2024-09-30 176/week @ 2024-10-14

223 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

~12–25MB
~344K SLoC