fraction-unicode
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

fraction-unicode

GH Status NPM License

String representation of a number in fractional form

Install

yarn add fraction-unicode

Usage

import fractionUnicode from 'fraction-unicode';

fractionUnicode(1, 2);
// '½'

fractionUnicode(7, 16);
// '⁷⁄₁₃'

License

MIT © Abraham Hernandez

/fraction-unicode/

    Package Sidebar

    Install

    npm i fraction-unicode

    Weekly Downloads

    2,397

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    6.85 kB

    Total Files

    6

    Last publish

    Collaborators

    • abranhe