Normalize string using ES6 String.Prototype.Normalize
$ yarn add string-normalize-es6
const stringNormalize = ;;//=> 'Creme Brulee';//=> null
String you want to normalize to NFD.
The module is based on this answer on Stackoverflow. I'm not completely sure the this is the correct implementation and maybe we can also specify the normalization type as argument. PR welcome! 🚀
$ yarn test
MIT © LasaleFamine