New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

math-library-zero

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

math-library-zero

A package that gives you access to useful math equations by just using a method

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Useful math functions

This library is a utility library for using math functions with ease.

Install

npm install useful-math-functions

Usage

const ImprovedMath = require("math-library-zero");
const math = new ImprovedMath();

Then you can call functions on the math variable

Examples

console.log(math.add(5, 4)); // 9
console.log(math.sub(4, 2)); // 2
console.log(math.dist(1, 1, 2, 1)); // 1
console.log(math.circle_area_radius(4)) // 50.24...
console.log(math.circle_area_diamter(8)) // 50.24...

Keywords

math

FAQs

Package last updated on 09 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts