1.3.2 • Published 1 year ago

@hellotellow/calculations v1.3.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Tellow Calculations Distribution Package

A library to align all Tellow frontend calculations.

Installation

# Yarn
yarn add @hellotellow/calculations

## Contents
### `invoiceLines` 
This module provides with functions to calculate invoice totals from the user input. It handles two main cases:
  - when a user inputs a price (amount) excluding VAT
  - when a inputs a price (amount) including VAT

For calculating the total values per invoice line (item), use:

import { getItemTotals } from '@hellotellow/calculations';

For calculating the total values per invoice, use:

import { getInvoiceTotals } from '@hellotellow/calculations';

## Releasing

Releases are automatically published to NPM whenever the `develop` branch is merged into `main`.
Please do not forget to run a versioning command like e.g. `yarn version --patch`, and then `git push --tags` so align Github with your newly published version tag.

# Dependencies
- [lodash](https://github.com/lodash/lodash)
1.2.0

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.4

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.4.4

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago