Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remove-accents

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remove-accents

Converting the accented characters to their corresponding non-accented ASCII characters.

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.3M
decreased by-4.16%
Maintainers
1
Weekly downloads
 
Created

What is remove-accents?

The remove-accents npm package is designed to help developers remove accents and diacritics from strings. This can be particularly useful for creating cleaner, ASCII-only versions of text that originally contains special characters from various languages. It's commonly used in applications that need to standardize user input, generate slugs for URLs, or simply ensure compatibility with systems that do not support such characters.

What are remove-accents's main functionalities?

Removing accents from a string

This feature allows you to remove all accents and diacritics from a given string, converting characters like 'À' to 'A', 'á' to 'a', etc. The code sample demonstrates how to use the package to convert a string containing various accented characters into its unaccented counterpart.

"use strict"; const removeAccents = require('remove-accents'); console.log(removeAccents('ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ'));

Other packages similar to remove-accents

Keywords

FAQs

Package last updated on 29 Jan 2017

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