Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 7 days 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 (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T03:04:10.000Z (over 1 year ago)
- Last Synced: 2024-09-30T06:36:01.298Z (about 1 month ago)
- Topics: entities, html-entities, js, nodejs, utf8
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/entity2utf8
- Size: 479 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/hcodes/entity2utf8.png?branch=master)](https://travis-ci.org/hcodes/entity2utf8)
[![Coverage Status](https://img.shields.io/coveralls/hcodes/entity2utf8.svg?branch=master)](https://coveralls.io/r/hcodes/entity2utf8)
[![NPM Version](http://img.shields.io/npm/v/entity2utf8.svg?style=flat)](https://www.npmjs.org/package/entity2utf8)
[![Dependency Status](https://img.shields.io/david/hcodes/entity2utf8.svg)](https://david-dm.org/hcodes/entity2utf8)
[![NPM Downloads](https://img.shields.io/npm/dm/entity2utf8.svg?style=flat)](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