degrees-to-direction

    1.1.1 • Public • Published

    Degrees to Directions travis build status

    Convert degrees into directions. Useful for windspeed, etc.

    Usage

    $ npm install degrees-to-direction
    var d2d = require('degrees-to-direction');
     
    d2d(0); // "N"
    d2d(10); // "N"
    d2d(45); // "ENE"
    d2d(180); // "S"

    Running Tests

    You may need to install mocha globally to run the tests.

    $ npm install
    $ npm test
    

    License

    MIT

    Install

    npm i degrees-to-direction

    DownloadsWeekly Downloads

    289

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • mguida22