Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

@0x6b/textlint-rule-normalize-whitespaces

textlint rule which normalizes whitespaces in the document.

textlintrule
Published16 Jan 2018
Direct dependencies5
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 5

Native requirements
5 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
execall
Environment
{
  "local_name": "execall",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
husky
Environment
{
  "local_name": "husky",
  "alias": false,
  "peer_metadata": null
}
^0.14.3development
prettier
Environment
{
  "local_name": "prettier",
  "alias": false,
  "peer_metadata": null
}
^1.10.2development
lint-staged
Environment
{
  "local_name": "lint-staged",
  "alias": false,
  "peer_metadata": null
}
^6.0.0development
textlint-scripts
Environment
{
  "local_name": "textlint-scripts",
  "alias": false,
  "peer_metadata": null
}
^1.2.4development

Distribution files

1 collected
Distribution 1

Source distribution

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

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:c4809d2978eba15d96332d7456c8217ea02a8dc39a7e809ee89d6cfbca17d34e

Other collected versions

1.2.116 Jul1.2.020 Oct1.1.420 Oct1.1.317 May1.1.27 Sept1.1.15 AugView all collected versions →