Catalog npm
PACKAGE EXPLORERView in registry

@0x6b/textlint-rule-normalize-whitespaces

npm

textlint rule which normalizes whitespaces in the document.

textlintrule
Versions collected10
Direct dependencies10From release 1.2.1
Last observed20 Oct, 22:38 UTC

README

Current package documentation

textlint-rule-normalize-whitespaces

textlint rule which replaces following whitespaces to normal whitespace (U+0020) in your document.

Code PointName
U+00A0NO-BREAK SPACE
U+1680OGHAM SPACE MARK
U+2000EN QUAD
U+2001EM QUAD
U+2002EN SPACE
U+2003EM SPACE
U+2004THREE-PER-EM SPACE
U+2005FOUR-PER-EM SPACE
U+2006SIX-PER-EM SPACE
U+2007FIGURE SPACE
U+2008PUNCTUATION SPACE
U+2009THIN SPACE
U+200AHAIR SPACE
U+202FNARROW NON-BREAKING SPACE
U+205FMEDIUM MATHEMATICAL SPACE
U+3000IDEOGRAPHIC SPACE

Install

Install with npm:

npm install @0x6b/textlint-rule-normalize-whitespaces

This module requires Node.js >= 16.0.0.

Usage

Via .textlintrc(recommended):

{
  "rules": {
    "@0x6b/normalize-whitespaces": true
  }
}

Via CLI:

textlint --rule @0x6b/normalize-whitespaces README.md

Build

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

npm install && npm run build

Test

Run test code in test folder by textlint-tester.

npm test

References

License

MIT © 0x6b

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 10

Collected releases
VersionPublishedDirect dependenciesOpen version
1.2.1Registry latest16 Jul 202410
1.2.020 Oct 202310
1.1.420 Oct 202310
1.1.317 May 202310
1.1.27 Sept 202110
1.1.15 Aug 202110
1.1.015 Jul 201911
1.0.216 Jan 20185
1.0.116 Jan 20185
1.0.016 Jan 20185

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0x6b/textlint-rule-normalize-whitespaces

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6fdbc504caec238810a56f177e3330affafb01e3ca30b42bfde3e0e5fd2d1dda