
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
translate-language
Advanced tools
简易的翻译插件,demo地址[点我点我 click me](http://zoone.cc:8080/webproject/components_demo/translateLanguage)
简易的翻译插件,demo地址点我点我 click me
$ cnpm install translate-language
require引入之后,在js中调用即可
const translateFunc = require('translate-language');
translateFunc();
方法可以传入一个元素的id,如
translateFunc('app');
则只会翻译app中的英文
将项目下载到本地之后,
$ npm install
安装node模块,在cmd中输入
$ webpack-dev-server
之后在浏览器中输入http://localhost:8080
FAQs
简易的翻译插件,demo地址[点我点我 click me](http://zoone.cc:8080/webproject/components_demo/translateLanguage)
We found that translate-language demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.