https://github.com/tableflip/nagel-shipping-rates
Lookup functions for the Nagel Group
https://github.com/tableflip/nagel-shipping-rates
Last synced: about 1 year ago
JSON representation
Lookup functions for the Nagel Group
- Host: GitHub
- URL: https://github.com/tableflip/nagel-shipping-rates
- Owner: tableflip
- License: mit
- Created: 2016-08-08T12:06:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T09:15:45.000Z (about 9 years ago)
- Last Synced: 2025-03-18T07:18:13.971Z (over 1 year ago)
- Language: JavaScript
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nagel Group Shipping rates [](https://circleci.com/gh/tableflip/nagel-shipping-rates)

### Getting Started
`npm install`
`npm run test`
Exports helper functions that help look up zones and rates from the [Nagel Group Rate Card](https://drive.google.com/file/d/0ByulP-RjHNpdNndzTFdSd2ZGaXM/view).
### Usage
```js
const shipping = require('nagel-shipping-rates')
shipping.getZone('SE22 9BA')
// { placeName: 'South East London', zone: 5 }
// shipping.getRate(departureZone, deliveryZone, pallets)
shipping.getRate(5, 3, 1)
// 71.31
```
----
A [(╯°□°)╯︵TABLEFLIP](https://tableflip.io) side project.