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.2.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.4K
decreased by-10.43%
Maintainers
1
Weekly downloads
 
Created
Source

Known Vulnerabilities js-standard-style License: MIT Open 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.

Install

$ npm install replace-special-characters

or

$ yarn add replace-special-characters

Usage

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

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

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.

License

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


Made with by Roberto Alves 👋 Get in touch!

Keywords

FAQs

Package last updated on 17 Oct 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc