Current collected state Current
Observed since 20 Oct, 22:38 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0x6b/textlint-rule-normalize-whitespaces
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.
| Package / target | Requirement | Relationship |
|---|---|---|
execallEnvironment{
"local_name": "execall",
"alias": false,
"peer_metadata": null
} | ^1.0.0 | runtime |
huskyEnvironment{
"local_name": "husky",
"alias": false,
"peer_metadata": null
} | ^0.14.3 | development |
prettierEnvironment{
"local_name": "prettier",
"alias": false,
"peer_metadata": null
} | ^1.10.2 | development |
lint-stagedEnvironment{
"local_name": "lint-staged",
"alias": false,
"peer_metadata": null
} | ^6.0.0 | development |
textlint-scriptsEnvironment{
"local_name": "textlint-scripts",
"alias": false,
"peer_metadata": null
} | ^1.2.4 | development |
Source distribution
{
"shasum": "c28616cf5ab90a7808217531d2f351e3ee729dca",
"tarball": "https://registry.npmjs.org/@0x6b/textlint-rule-normalize-whitespaces/-/textlint-rule-normalize-whitespaces-1.0.1.tgz",
"integrity": "sha512-A09ukKWHlsBOPT+gBenhwTM4aJRUNqNve6MshGl0jyRoHVOpsKR+JhHZ+0hT3eEYWq3zlLsS4V7wu/Oladwjow==",
"signatures": [
{
"sig": "MEQCICupWpvyk44HbZp4Ly/9bPf0652muRFkZVG5p/LfqBorAiAJ2HcbgA8qwS/wIPuev1fVWkuLrKB9McOc8HBaTWOSLw==",
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
}
]
}Shared repository data · GitHub
Observed since 20 Oct, 22:38 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:c4809d2978eba15d96332d7456c8217ea02a8dc39a7e809ee89d6cfbca17d34e