subsup Build Status
Unicode subscripts and superscripts mapper
$ npm i subsup
'a' + sup(2) + ' + b' + sup(2) + ' = c' + sup(2); // a2 + b2 = c2
`W(x, y) = -3x${sup('2')} + 2xy${sup(2)} + y${sub(0)}` // W(x, y) = -3x2 + 2xy2 + y0
`W(x) = -3x${sup(3)} - x${sup(2)} + 2x-7` // W(x) = -3x3 - x2 + 2x - 7
MIT