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
} | ^2.0.0 | runtime |
regenerateEnvironment{
"local_name": "regenerate",
"alias": false,
"peer_metadata": null
} | ^1.3.3 | runtime |
huskyEnvironment{
"local_name": "husky",
"alias": false,
"peer_metadata": null
} | ^8.0.3 | development |
ts-nodeEnvironment{
"local_name": "ts-node",
"alias": false,
"peer_metadata": null
} | ^10.2.1 | development |
prettierEnvironment{
"local_name": "prettier",
"alias": false,
"peer_metadata": null
} | ^2.3.2 | development |
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^5.0.4 | development |
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^20.1.7 | development |
lint-stagedEnvironment{
"local_name": "lint-staged",
"alias": false,
"peer_metadata": null
} | ^13.2.2 | development |
@textlint/typesEnvironment{
"local_name": "@textlint/types",
"alias": false,
"peer_metadata": null
} | ^13.3.2 | development |
textlint-scriptsEnvironment{
"local_name": "textlint-scripts",
"alias": false,
"peer_metadata": null
} | ^13.3.2 | development |
Source distribution
{
"shasum": "7642982be70b866b2d61ed53172df5c3241c2531",
"tarball": "https://registry.npmjs.org/@0x6b/textlint-rule-normalize-whitespaces/-/textlint-rule-normalize-whitespaces-1.1.3.tgz",
"fileCount": 8,
"integrity": "sha512-mobQ83Iclo6wbfD7iOrilbfAdD/0tZGoZFmQStBUEzShA6+kuMahEJnNU+ujDauLQlMMa+2ZRdk2yzZd3YuQbw==",
"signatures": [
{
"sig": "MEQCIAUQ1VESYPCa3Y/xD5M96aiyTTiROc8xDD26/jR+7RwLAiAuYg8febx6vLeNZI+QMOH/rl3Rl2C+EmJiM1rObOfWZQ==",
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
}
],
"unpackedSize": 14581
}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:86a407cfbb79d2c93d20a41bd5bc47f1832fb87f513dd72c6f2096b9014a3e91