Current collected state Current
Observed since 20 Oct, 22:38 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
textlint rule which normalizes whitespaces in the document.
textlint rule which replaces following whitespaces to normal whitespace (U+0020) in your document.
| Code Point | Name |
|---|---|
U+00A0 | NO-BREAK SPACE |
U+1680 | OGHAM SPACE MARK |
U+2000 | EN QUAD |
U+2001 | EM QUAD |
U+2002 | EN SPACE |
U+2003 | EM SPACE |
U+2004 | THREE-PER-EM SPACE |
U+2005 | FOUR-PER-EM SPACE |
U+2006 | SIX-PER-EM SPACE |
U+2007 | FIGURE SPACE |
U+2008 | PUNCTUATION SPACE |
U+2009 | THIN SPACE |
U+200A | HAIR SPACE |
U+202F | NARROW NON-BREAKING SPACE |
U+205F | MEDIUM MATHEMATICAL SPACE |
U+3000 | IDEOGRAPHIC SPACE |
Install with npm:
npm install @0x6b/textlint-rule-normalize-whitespaces
This module requires Node.js >= 16.0.0.
Via .textlintrc(recommended):
{
"rules": {
"@0x6b/normalize-whitespaces": true
}
}
Via CLI:
textlint --rule @0x6b/normalize-whitespaces README.md
Builds source codes for publish to the lib/ folder.
You can write ES2015+ source codes in src/ folder.
npm install && npm run build
Run test code in test folder by textlint-tester.
npm test
MIT © 0x6b
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:38 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:6fdbc504caec238810a56f177e3330affafb01e3ca30b42bfde3e0e5fd2d1dda