I am trying to convert regular text to inverted form. is it possible in typescript? regular text: how are you? expected text:
CodePudding user response:
This can be emulated by using typescript and a package that uses different letters that look similar e.g. https://www.npmjs.com/package/flip-text.
If you are thinking about using this in the context of a webpage this can be done far easier and cleaner by using (possibly type-script controlled) CSS though. Have a look at this for example: https://www.w3docs.com/snippets/css/how-to-flip-text-with-css.html