Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    costtimepublic

    costtime

    Cost per Hour * Time Spent - Contracting Calculator

    Install

    $ npm install costtime --save
    

    Usage

    const costtime = require('costtime')
    const hourlyRate = 50
    const timeSpent = '12h42m'
     
    let charge = costtime(hourlyRate, timeSpent)
     
    console.log('£' + charge)

    Licence

    MIT © Ben Evans

    install

    npm i costtime

    Downloadsweekly downloads

    3

    version

    1.0.0

    license

    ISC

    repository

    githubgithub

    last publish

    collaborators

    • avatar