beaufort

1.3.0 • Public • Published

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

APACHE-2.0

Package Sidebar

Install

npm i beaufort

Weekly Downloads

2

Version

1.3.0

License

Apache-2.0

Last publish

Collaborators

  • takuya813