npm.io
1.0.3 • Published 9 years ago

weekly-and-monthly-rate

Licence
MIT
Version
1.0.3
Deps
0
Vulns
0
Weekly
0

weekly-and-monthly-rate

Convert between weekly rate and monthly rate

Usage

install via npm

$ npm install weekly-and-monthly-rate

1.Convert weekly to monthly rate

var rateConverter = require('weekly-and-monthly-rate');
var monthlyRate = rateConverter.ratePerMonth(300);
// 1300

2.Convert monthly to weekly rate

var rateConverter = require('weekly-and-monthly-rate');
var weeklyRate = rateConverter.ratePerWeek(1300);
// 300

Requirements

  • node, install node
  • gulp, install gulp-cli with npm install -g gulp-cli
Quick start
  1. clone of fork the repo
  2. cd weekly-and-monthly-rate
  3. run npm install
  4. run gulp

Issues

Find a bug or want to request a new feature? Please let me know by submitting an issue.

Contributing

Anyone and everyone is welcome to contribute.

  1. Fork it ( https://github.com/tsamaya/weekly-and-monthly-rate and click "Fork" )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Resources

Licensing

Licensed under the MIT License

A copy of the license is available in the repository's LICENSE file.