@cliche/to-percent

    0.0.5 • Public • Published

    @cliche/to-percent

    Convert a number to percent form

    npm version npm quality npm download npm total-download size github commit activity npm license

    Features

    • ES2015 syntax

    Install

    $ npm install @cliche/to-percent

    Usage

    import { toPercent } from '@cliche/to-percent'
    const n = 0.12345
    console.log(toPercent(n)) // 12%

    Meta

    LICENSE (MIT)

    Copyright (c) 2019-present, Haoyang (Vincent) Wang

    Keywords

    Install

    npm i @cliche/to-percent

    DownloadsWeekly Downloads

    18

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    3.59 kB

    Total Files

    5

    Last publish

    Collaborators

    • hoyeung