@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    1
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i @cliche/to-percent

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

3.59 kB

Total Files

5

Last publish

Collaborators

  • hoyeung