Find and replace entities to UTF-8 symbols
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
test
.eslintignore
.eslintrc
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

Build Status Coverage Status NPM Version Dependency Status NPM Downloads

entity2utf8

Find and replace HTML entities to UTF-8 symbols.

Ignore entities:

  • <
  • >
  • &
  • "
  • '

CLI

npm install entity2utf8 -g

entity2utf8 mytext.txt

entity2utf8 mytext1.txt mytext2.txt mytext3.txt

entity2utf8 --ignore " ,»" mytext1.txt

entity2utf8 --ignore " ,»" --exts ".html,.htm" .

entity2utf8 --replace --ignore " ,»" --exts ".html,.htm" .

License

MIT License