Catalog npm
Back to packageRELEASE DETAILS

1.1.3

npm

@0x6b/textlint-rule-normalize-whitespaces

textlint rule which normalizes whitespaces in the document.

textlintrule
Published17 May 2023
Direct dependencies10
Transitive dependenciesNot calculated

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.

Declared dependencies 10

Native requirements
10 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
execall
Environment
{
  "local_name": "execall",
  "alias": false,
  "peer_metadata": null
}
^2.0.0runtime
regenerate
Environment
{
  "local_name": "regenerate",
  "alias": false,
  "peer_metadata": null
}
^1.3.3runtime
husky
Environment
{
  "local_name": "husky",
  "alias": false,
  "peer_metadata": null
}
^8.0.3development
ts-node
Environment
{
  "local_name": "ts-node",
  "alias": false,
  "peer_metadata": null
}
^10.2.1development
prettier
Environment
{
  "local_name": "prettier",
  "alias": false,
  "peer_metadata": null
}
^2.3.2development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.0.4development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.1.7development
lint-staged
Environment
{
  "local_name": "lint-staged",
  "alias": false,
  "peer_metadata": null
}
^13.2.2development
@textlint/types
Environment
{
  "local_name": "@textlint/types",
  "alias": false,
  "peer_metadata": null
}
^13.3.2development
textlint-scripts
Environment
{
  "local_name": "textlint-scripts",
  "alias": false,
  "peer_metadata": null
}
^13.3.2development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "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
}

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_version:86a407cfbb79d2c93d20a41bd5bc47f1832fb87f513dd72c6f2096b9014a3e91

Other collected versions

1.2.116 Jul1.2.020 Oct1.1.420 Oct1.1.27 Sept1.1.15 Aug1.1.015 JulView all collected versions →