@aissaoui-ahmed/accents

Check or remove accents from a string use CLI or function, Support multi languages.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@aissaoui-ahmed/accents
701.0.5-22 years ago2 years agoMinified + gzip package size for @aissaoui-ahmed/accents in KB

Readme

Accents
Provides a simple package check or remove accents from a string use CLI or function, Support multi languages.

Install

npm i -g @aissaoui-ahmed/accents

Usage

Use CLI

accent --remove "cette chaîne a l'accent comme être"

Result
` cette chaine a l'accent comme etre `

Use functions

ES6 modules
import { check, remove, hasAccent } from '@aissaoui-ahmed/accents';
import accents from '@aissaoui-ahmed/accents';

Or CommonJS
const { check, remove, hasAccent } = require('@aissaoui-ahmed/accents');
// OR
const accents = require('@aissaoui-ahmed/accents');

remove("Put string here");
check("Put string here");
hasAccent("Put string here")
// OR
accents.remove("Put string here");
accents.check("Put string here");
accents.hasAccent("Put string here")

Report issues and request features with issue tracker