@tubular/math

Miscellaneous math functions

Usage no npm install needed!

<script type="module">
  import tubularMath from 'https://cdn.skypack.dev/@tubular/math';
</script>

README

Math utilities

Provides a few useful math utilities as well as pass-through declarations of the standard JavaScript Math library.

This includes min-max finding, zero finding, assistance for integer and modular math, angle calculations and conversions and formatting, and support for spherical coordinates.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run npm run test to execute the unit tests via Karma.