npmv

Crates.ionpmv
lib.rsnpmv
version0.1.19
created_at2024-08-18 01:12:58.012482+00
updated_at2024-10-15 04:49:24.380818+00
descriptionnpmv
homepagehttps://github.com/i18n-site/rust/tree/main/npmv
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1342205
size8,538
i18n.site (i18nsite)

documentation

README

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 ⋅ 国际化解决方案 的开源组件。

Commit count: 68

cargo fmt