Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

textlint-rule-no-surrogate-pair

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

textlint-rule-no-surrogate-pair

Detects surrogate pairs in sentences.

    1.0.1latest
    Github

Version published
Maintainers
1
Weekly downloads
351
decreased by-46.25%

Weekly downloads

Readme

Source

textlint-rule-no-surrogate-pair

Detects surrogate pairs (D800-DBFF and DC00-DFFF) in sentences.

文章の中でUnicodeのサロゲートペアの文字が使われていると検出します。サロゲートペアの文字は一部の電子書籍のリーディングシステムで表示ができないため注意が必要です。

参考:電書ラボEPUB制作仕様 2016.07.28 β0.99

Install

Install with npm:

npm install textlint-rule-no-surrogate-pair

Usage

Via .textlintrc(Recommended)

{ "rules": { "no-surrogate-pair": true } }

Via CLI

textlint --rule no-surrogate-pair README.md

Build

Builds source codes for publish to the lib folder. You can write ES2015+ source codes in src/ folder.

npm run build

Tests

Run test code in test folder. Test textlint rule by textlint-tester.

npm test

License

MIT ©

Keywords

FAQs

Last updated on 15 Mar 2017

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.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc