0.1.3 • Published 6 years ago

string-tosuperscript v0.1.3

Weekly downloads
9
License
MIT
Repository
github
Last release
6 years ago

string-tosuperscript

NOTE: string-tosuperscript was renamed to @extra-string/to-superscript. NPM

Convert string to superscript characters, limited support.

Only following characters can be superscripted:

  • () + - 0123456789 =
  • AB DE GHIJKLMNOP R TU W
  • abcdefghijklmnop rstuvwxyz
const toSuperscript = require('string-tosuperscript');
// toSuperscript(<string>)

toSuperscript('hello world');
// 'ʰᵉˡˡᵒ ʷᵒʳˡᵈ'
toSuperscript('DECCAN PLATEAU');
// 'ᴰᴱCCᴬᴺ ᴾᴸᴬᵀᴱᴬᵁ'
'6.626 x 10'+toSuperscript('-34');
// '6.626 x 10⁻³⁴' (Planck's constant)
0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago