https://github.com/yue1123/fixdot
A command-line tool that fixes English punctuation in Chinese sentences
https://github.com/yue1123/fixdot
command-line-tool nodejs
Last synced: 2 months ago
JSON representation
A command-line tool that fixes English punctuation in Chinese sentences
- Host: GitHub
- URL: https://github.com/yue1123/fixdot
- Owner: yue1123
- License: mit
- Created: 2022-07-21T10:21:53.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-29T04:27:44.000Z (almost 3 years ago)
- Last Synced: 2025-03-07T22:04:42.780Z (3 months ago)
- Topics: command-line-tool, nodejs
- Language: TypeScript
- Homepage:
- Size: 319 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fixdot
[](https://github.com/yue1123/img-previewer/blob/main/LICENSE)
![]()
Other languages: [English](./README.md), [简体中文](./README.zh.md).
A command-line application that fixes English punctuation in Chinese sentences
If you change the input method punctuation to English punctuation, but you don’t want to switch back and forth every time you enter Chinese. Or you want to correct punctuation errors in a Chinese article, etc. All these, this command line application can help you
`fixdot ` use the right punctuation
TIP: file path support pattern match, like: `*/*.js`
> The current version only supports these encodings: ascii, utf-8, utf16le, ucs-2, base64

## install
Ensure you have Node.js version 12.20+ installed. Then run the following:
```bash
npm i -g fixdot
# or yarn
yarn global add fixdot
# or pnpm
pnpm i -g fixdot
```## Usage
```txt
Usage: fixDot [options] [letters...]Fix english punctuation to chinese punctuation for in Chinese sentences
Options:
-v, --version output the current version
-p --preview only preview incorrect snippets, will not auto write to the file
-d --detail show incorrect snippets
-h, --help display help for command
```