https://github.com/gabrielcsapo/monotime
💰 Money is time, a library to figure out what your time costs
https://github.com/gabrielcsapo/monotime
cost javascript money time
Last synced: 7 months ago
JSON representation
💰 Money is time, a library to figure out what your time costs
- Host: GitHub
- URL: https://github.com/gabrielcsapo/monotime
- Owner: gabrielcsapo
- Created: 2017-03-05T09:44:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-13T07:10:52.000Z (over 7 years ago)
- Last Synced: 2025-03-15T01:53:28.631Z (7 months ago)
- Topics: cost, javascript, money, time
- Language: JavaScript
- Homepage: https://gabrielcsapo.github.io/monotime
- Size: 1.61 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# monotime
> 💰 Money is time, a library to figure out what your time costs
[](https://www.npmjs.com/package/monotime)
[](https://lcov-server.gabrielcsapo.com/coverage/github%2Ecom/gabrielcsapo/monotime)
[](https://starbuck.gabrielcsapo.com/github/gabrielcsapo/monotime)
[](https://starbuck.gabrielcsapo.com/github/gabrielcsapo/monotime#info=devDependencies)
[](https://travis-ci.org/gabrielcsapo/monotime)

# Installation
```
npm install monotime --save
```## Usage
> To use `monotime` as a standalone library without a bundler, use the bundle located at `dist/monotime.js`. Else if you are using webpack or any other bundler, simply `require('monotime')` will suffice!
```javascript
const monotime = require('monotime');monotime('hourly', 27.692307692307693).purchase('15'); // $15 will cost you 0.5416666666666666 hours
```