Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

extra-function.web

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extra-function.web

A collection of ways for transforming functions.

Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
42
-75%
Maintainers
1
Weekly downloads
 
Created
Source

A collection of ways for transforming functions.
📦 Node.js, 🌐 Web, 📜 Files, 📰 JSDoc, 📘 Wiki.

A function is a relation or expression involving one or more variables.

This package is available in both Node.js and Web formats. The web format is exposed as extra_math standalone variable and can be loaded from jsDelivr CDN.

Stability: Experimental.


const math = require('extra-math');
// import * as math from "extra-math";
// import * as math from "https://unpkg.com/extra-math/index.mjs"; (deno)

math.sum(1, 2, 3, 4);
// → 10

math.median(1, 7, 8);
// → 7

math.variance(1, 2, 3, 4);
// → 1.25

math.lcm(2, 3, 4);
// → 12


Index

PropertyDescription
[rem]Find the remainder of x/y with sign of x (truncated division).


References

  • Modulo operation



Keywords

extra

FAQs

Package last updated on 05 Jul 2022

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