Have ideas to improve npm?Join in the discussion! »

    imperial-metric

    1.2.1 • Public • Published

    ImperialMetric Build Status

    A module that let you convert imperial to metric and metric to imperial easily

    Usage

        var IM = require("imperial-metric");
        IM(1).from('inch').to("cm"); // 2.54
        IM(1).from('m').to("inch"); // 39.37007874
        IM(1).from('cm').to("foot"); // 0.03280839895
        IM(1).from('foot').to("m"); // 0.3048

    includes inch, foot, mm, cm, m, km, sqrt-m, sqrt-cm, sqrt-mm, sqrt-km, sqrt-inch, sqrt-foot

    Install

        npm install imperial-metric
    

    Install

    npm i imperial-metric

    DownloadsWeekly Downloads

    84

    Version

    1.2.1

    License

    ISC

    Last publish

    Collaborators

    • avatar