Converts all numbers in text to superscript unicode characters
import {superscript} from "numbers-to-superscript"
console.log(superscript('21 Prove all things; hold fast that which is good.'))
Output:
²¹ Prove all things; hold fast that which is good.
npm i numbers-to-superscript
(c) 2023 Philippe Rigovanov. MIT License