wdmath

0.0.4-dev • Public • Published

About

WdMath is a powerful Node.js module that helps you in math questions, this module is for advanced calcs using geometric math and others

Instalation

Node.js is required.

npm install wdmath
yarn add wdmath

Some stuff

const WdMath = require("WdMath");

let radians = WdMath.toRadians(degrees); // Convert degrees to radians
let degrees = WdMath.toDegrees(radians); // Convert radians to degrees
let dist = WdMath.distInKm(startLat, startLon, destLat, destLon); // Gets the distance between two coordinates in km
let bearing = WdMath.getBearing(startLat, startLon, destLat, destLon); // Gets the bearing of two coordinates
let cone = WdMath.cone(radius, height); // Some stuff about cone calcs

Help

If you want to help us at this project, please don't hesitate to join us official discord server

Package Sidebar

Install

npm i wdmath

Weekly Downloads

0

Version

0.0.4-dev

License

ISC

Unpacked Size

11 kB

Total Files

18

Last publish

Collaborators

  • srnox_