Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siegfriedgrimbeek/strip-accented

Returns a string from which accented characters are stripped.
https://github.com/siegfriedgrimbeek/strip-accented

function javascript node nodejs npm npm-module npmjs

Last synced: 5 days ago
JSON representation

Returns a string from which accented characters are stripped.

Awesome Lists containing this project

README

        

# strip accented

Useful for stripping out accented characters.

[![npm version](https://badge.fury.io/js/strip-accented.svg)](https://badge.fury.io/js/strip-accented)
[![Build Status](https://travis-ci.org/siegfriedgrimbeek/strip-accented.svg?branch=master)](https://travis-ci.org/siegfriedgrimbeek/strip-accented)
[![Coverage Status](https://coveralls.io/repos/github/siegfriedgrimbeek/strip-accented/badge.svg?branch=master)](https://coveralls.io/github/siegfriedgrimbeek/strip-accented?branch=master)

## Installation

In node:

$ npm install strip-accented

## Usage

```js
const stripAccented = require('stripAccented')
let cleanString = stripAccented('èàáâę')

// cleanString = eaaae

```

## Tests

`npm test`

## API

#### stripAccented(string)

Function.

## License

MIT