https://github.com/patricnox/specialtonormal
Replace special characters to normalized letters in JavaScript
https://github.com/patricnox/specialtonormal
normalize npm-package replace-text special-characters yarn-package
Last synced: 12 months ago
JSON representation
Replace special characters to normalized letters in JavaScript
- Host: GitHub
- URL: https://github.com/patricnox/specialtonormal
- Owner: PatricNox
- License: mit
- Created: 2022-10-19T17:06:07.000Z (over 3 years ago)
- Default Branch: release
- Last Pushed: 2022-10-19T17:44:29.000Z (over 3 years ago)
- Last Synced: 2025-02-06T05:34:35.668Z (over 1 year ago)
- Topics: normalize, npm-package, replace-text, special-characters, yarn-package
- Language: TypeScript
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌟 **SpecialToNormal**
[](https://opensource.org/licenses/MIT)
[](https://opensource.org/)
[](https://www.npmjs.com/package/specialtonormal) [](https://www.npmjs.com/package/specialtonormal)
### This package is used to convert special characters to their corresponding "normal" letter.
**This package helps you if..**
* You wish to replace those special letters that some languages has, like Swedish "åäö"
* You have to convert special characters in huge chunks of strings
* You want to validate a very large text
## Install
$ npm install specialtonormal
or
$ yarn add specialtonormal
## Usage
```js
import normalizeSpecialCharacters from "specialtonormal";
const normalized = normalizeSpecialCharacters('pátrîcnõx with swedish åäö');
console.log(normalized); //=> patricnox with swedish aao
```
## License
This package is licensed under [MIT](https://github.com/PatricNox/SpecialToNormal/blob/release/LICENSE)
----------
Made by PatricNox - 👋 [Get in touch!](https://www.linkedin.com/in/patricnox)