1.3.0 • Published 9 years ago
beaufort v1.3.0
beaufort
A beaufort scale convertor for node.
var beaufort = require('beaufort')
var options = {unit: 'kmh', getName: true};
console.log(beaufort(42, options));
console.log(beaufort(12, options));
// 'strong breeze'
// 'gentle breeze'
Installation
$ npm install beaufort
Features
- Supports kmh and mps out of the box
- Gives beaufort numbers for 0-16
- Has wind speed descriptors for beaufort numbers 0-12
Tests
The test suite relies upon a few dependancies.
$ npm install
$ npm test
Version History
- 1.3.0: Initial Release
License
1.3.0
9 years ago