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 - npm Package Compare versions

Comparing version
0.1.2
to
0.1.3
+1
-1
package.json
{
"name": "extra-function.web",
"version": "0.1.2",
"version": "0.1.3",
"description": "A collection of ways for transforming functions.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,1 +1,60 @@

A collection of ways for transforming functions.<br>
📦 [Node.js](https://www.npmjs.com/package/extra-function),
🌐 [Web](https://www.npmjs.com/package/extra-function.web),
📜 [Files](https://unpkg.com/extra-function/),
📰 [JSDoc](https://nodef.github.io/extra-function/),
📘 [Wiki](https://github.com/nodef/extra-function/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].
[jsDelivr CDN]: https://cdn.jsdelivr.net/npm/extra-math.web/index.js
> Stability: [Experimental](https://www.youtube.com/watch?v=L1j93RnIxEo).
<br>
```javascript
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
```
<br>
<br>
## Index
| Property | Description |
| ---- | ---- |
| [rem] | Find the remainder of x/y with sign of x (truncated division). |
<br>
<br>
## References
- [Modulo operation](https://en.wikipedia.org/wiki/Modulo_operation)
<br>
<br>
[![](https://img.youtube.com/vi/dW8Cy6WrO94/maxresdefault.jpg)](https://www.youtube.com/watch?v=dW8Cy6WrO94)<br>