Socket
Socket
Sign inDemoInstall

extended-math

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extended-math

A collection of JavaScript mathemtatical helper functions and constant values.


Version published
Weekly downloads
7
increased by133.33%
Maintainers
1
Weekly downloads
 
Created
Source

Extended Math

NPM version Coverage Status Known Vulnerabilities Downloads Install Size Contributors Pull Requests Welcome

A collection of JavaScript mathemtatical helper functions and constant values.

Documentation

Complete API documentation is available here.

Web Usage

<script src="extended-math.js"></script>

<script type="text/javascript">
	extendedMath.clamp(5, 0, 2); // => 2 
</script>

Node.js Usage

const extendedMath = require("extended-math");

extendedMath.normalize(1, 0, 2); // => 0.5

Installation

To install this module:

npm install extended-math

Building

To build the distribution files for this module:

npm run build

Running Unit Tests

To run the unit test suite for this module:

npm run test

Generating Documentation

npm run docs

Keywords

FAQs

Package last updated on 27 Apr 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc