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

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

Install

npm i costtime

DownloadsWeekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • avatar