Skip to content

🎉 v1.0.0 stable release

Compare
Choose a tag to compare
@motss motss released this 16 Jan 14:38

Notable changes:-

  1. Now ship with multiple bundles:

    a. esm - Targeting native ES modules such as TypeScript.
    b. cjs - Targeting Node.js with CommonJS.
    c. iife - Targeting older browsers by compiling to IIFE and ES5.

  2. Fixed a bug where single-character string is not being normalized.

  3. Alternatively, you can rely on third-party services to grab the bundle: unpkg and jsdelivr.

Deno support

It's cool to see this project gaining traction by the community. Because of that, I've decided to add more support for this particular project. It's officially supported as a deno package and is available at awesome-deno where it lists all the deno packages by the community.

Try it now as of today!

import { normalize } from 'https://denopkg.com/motss/[email protected]/index.ts';

(async () => {
  const str = 'söme stüff with áccènts';

  await normalize(str); // 'some stuff with accents'
})();