https://github.com/hcodes/entity2utf8
Find and replace entities to UTF-8 symbols
https://github.com/hcodes/entity2utf8
entities html-entities js nodejs utf8
Last synced: 3 months ago
JSON representation
Find and replace entities to UTF-8 symbols
- Host: GitHub
- URL: https://github.com/hcodes/entity2utf8
- Owner: hcodes
- License: mit
- Created: 2015-05-04T09:17:31.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T03:04:10.000Z (over 2 years ago)
- Last Synced: 2025-03-18T07:46:55.699Z (4 months ago)
- Topics: entities, html-entities, js, nodejs, utf8
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/entity2utf8
- Size: 479 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/hcodes/entity2utf8)
[](https://coveralls.io/r/hcodes/entity2utf8)
[](https://www.npmjs.org/package/entity2utf8)
[](https://david-dm.org/hcodes/entity2utf8)
[](https://www.npmjs.org/package/entity2utf8)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