bd_vat-calculator

    1.0.8 • Public • Published

    this is vat calculator npm package for BD

    you can easily calculate your e-commerce shops items price and vat and total ammount using this library

    usage

    const cal = require("bd_vat-calculator");

    var result = cal.vatCalculator([500, 1500, 1000]);

    console.log(result);

    {PreviousItemsPrices: [ 500, 1500, 1000 ], VatOnEachItem: [ '65.22', '195.65', '130.43' ], TotalVat: '391.30', TotalSumEachItems: [ 565.22, 1695.65, 1130.43 ], All: 3391.3 }

    Install

    npm i bd_vat-calculator

    DownloadsWeekly Downloads

    1

    Version

    1.0.8

    License

    ISC

    Unpacked Size

    1.8 kB

    Total Files

    3

    Last publish

    Collaborators

    • nahid_mbstu