Nerfing Powerful Megalomaniacs

    @igoradamenko/format-number

    1.0.1 • Public • Published

    @igoradamenko/format-number

    npm

    Installation

    npm i --save @igoradamenko/format-number

    Usage

    const formatNumber = require('@igoradamenko/format-number');
    
    console.log(formatNumber(12345.67))
    // > '12 345,67'
    
    console.log(formatNumber(-12345.67, {
      space: '•',
      delimiter: '.',
      minus: '~',
    }))
    // > '~12•345.67'

    Install

    npm i @igoradamenko/format-number

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.74 kB

    Total Files

    4

    Last publish

    Collaborators

    • igoradamenko