npmi

Crates.ionpmi
lib.rsnpmi
version0.1.18
sourcesrc
created_at2024-08-18 10:14:04.497054
updated_at2024-08-21 09:03:30.53006
descriptionnpmi
homepagehttps://github.com/i18n-site/rust/tree/main/npmi
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1342523
size12,048
i18n.site (i18nsite)

documentation

README

npmi

use aok::{Result, OK};
use static_init::constructor;

#[constructor(0)]
extern "C" fn init() {
  loginit::init()
}

#[tokio::test]
async fn test() -> Result<()> {
  let pkg = npmi::PkgLi::new("/tmp/test", &["@i18n.addon/toc"]);
  pkg.auto().await?;
  // npm.i(pkg).await?;

  OK
}

About

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

关于

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

Commit count: 22

cargo fmt