New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

replace-special-characters

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

replace-special-characters

Replace special characters to their simple characters

1.1.0
Source
npm
Version published
Weekly downloads
6K
-25.79%
Maintainers
1
Weekly downloads
 
Created
Source

replace-special-characters

In a validation of a very large text, there may be cases in which a word is null or undefined. To prevent this validation from being done manually, our lib is able to do it together with the normalization of the text.

GitHub top language GitHub language count Codacy grade Repository size GitHub last commit Repository issues

Install   |    Usage   |    How to contribute   |    License

:ballot_box_with_check: Install

$ npm install replace-special-characters

or

$ yarn add replace-special-characters

:up: Usage

const replaceSpecialCharacters = require('replace-special-characters');

const normalizedString = replaceSpecialCharacters('JäváSçrîpt');
//=> 'JavaScript'

:pencil2: How to contribute

  • Make a fork;
  • Create a branck with your feature: git checkout -b my-feature;
  • Commit changes: git commit -m 'feat: My new feature';
  • Make a push to your branch: git push origin my-feature.

After merging your receipt request to done, you can delete a branch from yours.

:memo: License

This project is under the MIT license. See the LICENSE for more information.

Made with by Roberto Sousa 👋 Get in touch!

Keywords

replace

FAQs

Package last updated on 18 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts