Skip to content

kanbara/beaufort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A beaufort scale convertor for node.

Resources

License

Stars

Watchers

Forks

Packages

No packages published