textlint-rule-no-surrogate-pair
Advanced tools
Weekly downloads
Readme
Detects surrogate pairs (D800-DBFF and DC00-DFFF) in sentences.
文章の中でUnicodeのサロゲートペアの文字が使われていると検出します。サロゲートペアの文字は一部の電子書籍のリーディングシステムで表示ができないため注意が必要です。
参考:電書ラボEPUB制作仕様 2016.07.28 β0.99
Install with npm:
npm install textlint-rule-no-surrogate-pair
Via .textlintrc
(Recommended)
{
"rules": {
"no-surrogate-pair": true
}
}
Via CLI
textlint --rule no-surrogate-pair README.md
Builds source codes for publish to the lib
folder.
You can write ES2015+ source codes in src/
folder.
npm run build
Run test code in test
folder.
Test textlint rule by textlint-tester.
npm test
MIT ©
FAQs
Detects surrogate pairs in sentences.
The npm package textlint-rule-no-surrogate-pair receives a total of 253 weekly downloads. As such, textlint-rule-no-surrogate-pair popularity was classified as not popular.
We found that textlint-rule-no-surrogate-pair 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 installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.