
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
convert-zh-cn
Advanced tools
convert-zh-ch 是一个通用的工具类 用来把汉字简体转换成拼音或者五笔的简码 全面支持ts和js
npm i convert-zh-cn --save
yarn add convert-zh-cn
、、、 import {makeWb,pinyin} from 'convert-zh-cn';
/**
* [ makeWb 汉字简体转五笔简码]
*
* @param {str} [接收一个字符串]
* @return {makeResult:string} [返回一个五笔简码字符]
*/
makeWb('徐') // T 把汉字转换成五笔简码 [字母全为大写 如需转换可自行处理]
/**
* [ pinyin 汉字简体转拼音简码]
*
* @param {str} [接收一个字符串]
* @return {result:string} [返回一个五笔简码字符]
*/
// pinyin.getCamelChars('徐') //X 把汉字转换成拼音简码
// pinyin.getFullChars('徐) //XU 把汉字转换成拼音全拼 [拼音首字母为大写 如需转换可自行处理]
、、、
MIT
FAQs
convert zh-ch
The npm package convert-zh-cn receives a total of 2 weekly downloads. As such, convert-zh-cn popularity was classified as not popular.
We found that convert-zh-cn 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
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

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