open-index/open-npm huggingface dataset:
npm package: @pospal/translate
Description: ```js const html = document.documentElement; const script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://static.pospal.cn/pospal-design/translate/translate.iife.js'; script.onload = script.onreadystatechange = f
Author: vben
Latest version: 0.2.8

# 用法

```js
const html = document.documentElement;
const script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://static.pospal.cn/pospal-design/translate/translate.iife.js';
script.onload = script.onreadystatechange = function () {
  const pospalTranslate = new PospalTranslate();
  pospalTranslate.run();
};
html.appendChild(script);
```