1.0.3-20140801 • Published 10 years ago

stamp-duty v1.0.3-20140801

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Stamp Duty Calculator

Rates updated on 1/08/2014.

browser support Build Status

JavaScript module for calculating Stamp Duty in Australia. Available for node, broswer and whereever else JavaScript can run on.

Installing via npm

> npm install --save stamp-duty

Example in node

var calculator = require('stamp-duty');
var tax = calculator('nsw', 650000);
// 24740

Installing via bower

> bower install --save stamp-duty

Example in browser

stampduty('nsw', 650000);
// 24740

Valid states

['nsw', 'qld', 'vic', 'tas', 'nt', 'sa', 'wa', 'act'];

Assumptions made

For all states:

  • Primary place of residence;
  • No first home buyer's grants;
  • No tax-exemptions of any sort;
  • No off-the-plan concessions;

For Western Australia:

  • For properties under $200,000, concessional rates apply as per S147;

Contribution

  1. Write tests
  2. Enable editorconfig or local .vimrc support, make sure whitespaces/code conventions are the same
  3. Make sure tests pass
1.0.3-20140801

10 years ago

1.0.1-20140801

10 years ago

1.0.0-20140801

10 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago