1.0.1 • Published 2 months ago
@squeep/roman v1.0.1
@squeep/roman
What
Render numbers as their Roman equivalents, using Unicode characters by default, or those converted to HTML encoded entities.
Why
These code points exist, so we might as well use them and feel all fancy about our copyright footers.
API
toRoman(num, asEntities = false)