dataguise

    0.0.2 • Public • Published

    DataGuise

    A simple data formatter.

    Code badges: Build Status Coverage Status Code Climate Dependency Status

    Project badges: NodeJS Version GitHub version devDependency Status

    NPM

    Usage

    NodeJS:

    // Formatting a number for better viewing
    var DataGuise = require("dataguise");
    var toCurrency = DataGuise.compile("#.##0,00", {"reverse": true});
    var balance = 1234567.89;
    var formattedBalance = toCurrency( String(balance) );
    // #=> 1.234.567,89

    Install

    npm i dataguise

    DownloadsWeekly Downloads

    3

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • kawamanza