zh-to-en-symbol
v3.0.0
Published
fix Zh symbol to En symbol
Downloads
3
Readme
zh-to-en-symbol
「 fix Zh symbol to En symbol 」
Install
npm install zh-to-en-symbol
yarn add zh-to-en-symbol
Usage
const fixZhtoEn = require('zh-to-en-symbol');
let result = fixZhtoEn("你好阿baby'‘~`!@“#$^");
//"你好阿baby''~`!@\"#$^"
API
zhToEnSymbol(string): newStr
string
| name: | string |
| ----- | ---------------- |
| Type: | string
|
| Desc: | zh symbol string |
newStr
| name: | newStr |
| ----- | ---------------- |
| Type: | string
|
| Desc: | en symbol string |
concat
- emoji-str-position emoji in str position
Use by
- translate-mds translate you md files
License
MIT © chinanf-boy