Skip to content

code: <zh-to-en-symbol> Fix Zh symbol {like: 。} => { . } En symbol ❤️ is work ✅

License

Notifications You must be signed in to change notification settings

chinanf-boy/zh-to-en-symbol

Repository files navigation

zh-to-en-symbol Build Status codecov explain

「 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

Use by

License

MIT © chinanf-boy

About

code: <zh-to-en-symbol> Fix Zh symbol {like: 。} => { . } En symbol ❤️ is work ✅

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published