Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ks-math with all npm packages installed. Try it out:

var ksMath = require("ks-math")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ks-math v1.2.0

Miscellaneous math functions

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.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free