Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jpederson/Accrue.js

A loan and interest calculation plugin for jQuery. Create calculators that allow you to calculate interest on loans, compare multiple loans (with different interest rates), and create amortization charts.
https://github.com/jpederson/Accrue.js

calculator finance jquery loan

Last synced: 7 days ago
JSON representation

A loan and interest calculation plugin for jQuery. Create calculators that allow you to calculate interest on loans, compare multiple loans (with different interest rates), and create amortization charts.

Awesome Lists containing this project

README

        

### Accrue.js

A loan and interest calculation plugin for jQuery.

#### [View Demo](http://jpederson.com/Accrue.js/)
#### [Documentation](https://github.com/jpederson/Accrue.js/wiki)

*****

![Available on Github](https://img.shields.io/github/release/jpederson/Accrue.js.svg) ![Available on NPM](https://img.shields.io/npm/v/accrue.svg) ![MIT](https://img.shields.io/github/license/jpederson/Accrue.js.svg)

*****

![preview](example.gif)

*****

### Install

#### Via Github

```
git clone [email protected]:jpederson/Accrue.js.git accrue.js
```

#### Via NPM

```
npm install accrue
```

#### Via Yarn

```
yarn install accrue
```

*****

### Quick Start

For the most basic usage of the plugin, all you need is the code below. Of course, you may need to adjust src properties based on where you store files, and you'll want to add styles - but the core functionality will be there.

```html

$(document).ready(function(){
$(".calculator").accrue();
});

```

Find out more about how to use Accrue.js in the [wiki](https://github.com/jpederson/Accrue.js/wiki)

*****

### Contributing

To contribute, you'll need [nodejs](https://nodejs.org) and [Grunt](https://gruntjs.com/) installed. Fork and clone the repo, then visit the directory in the terminal and type `npm install`. After that you can simply run the `grunt` command to watch the files in the project. It'll automatically lint, test, compile, and minify the plugin files so you can just code.

![Built with Grunt](https://img.shields.io/badge/built%20with-grunt-orange.svg)