costtime

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i costtime

Weekly Downloads

9

Version

1.0.0

License

ISC

Last publish

Collaborators

  • bencevans