2.0.5 • Published 2 months ago

@zerodep/string-deburr v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@zerodep/string-deburr

version language types license

CodeFactor Known Vulnerabilities

A utility to convert accented characters to their equivalent ASCII values. Non-string values will cause a ZeroDepError to be thrown.

Full documentation is available at the zerodep.app page.

Examples

All @zerodep packages support both ESM and CJS.

import { stringDeburr } from '@zerodep/string-deburr';
// or
const { stringDeburr } = require('@zerodep/string-deburr');

Use Cases

stringDeburr('àëîóüý Žøñç'); // "aeioUy Zonc"
stringDeburr('Hello There!ç'); // "Hello THere!"

Unsuccessful Response

stringDeburr({ not: 'a string' }); // throws ZeroDepError: Value is not a string
2.0.5

2 months ago

2.0.4

2 months ago

2.0.3

7 months ago

2.0.1

10 months ago