New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

map-number

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

map-number - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.0.6
* improved documentation
# 1.0.5

@@ -2,0 +6,0 @@

4

package.json
{
"name": "map-number",
"version": "1.0.5",
"description": "processing/p5.js map like function, including floating point numbers",
"version": "1.0.6",
"description": "processing/p5.js map like function, including floating point numbers support",
"main": "dist/map.cjs.js",

@@ -6,0 +6,0 @@ "module": "dist/map.es.js",

@@ -5,3 +5,3 @@ # map-number

[processing](https://processing.org/reference/map_.html)/[p5.js](http://p5js.org/reference/#/p5/map) map like function, including floating point numbers
[processing](https://processing.org/reference/map_.html)/[p5.js](http://p5js.org/reference/#/p5/map) map like function, including floating point numbers support

@@ -15,3 +15,3 @@ > :warning: this `map` function has nothing to do with `Array.prototype.map` method.

```bash
> npm install map-number
npm install map-number
```

@@ -103,2 +103,2 @@

[MIT License](LICENSE)
[MIT](LICENSE) :copyright: Manuel Fernández

@@ -0,0 +0,0 @@ type MapFunction = (num: number, inMin: number, inMax: number, outMin: number, outMax: number) => number;

@@ -0,0 +0,0 @@ import map from "./map";

@@ -0,0 +0,0 @@ export { default as map } from "./map";

@@ -0,0 +0,0 @@ import map from "./map";

@@ -0,0 +0,0 @@ function map(num: number, inMin: number, inMax: number, outMin: number, outMax: number): number {

const { min, max } = Math;
export { min, max };

@@ -0,0 +0,0 @@ import map from "./map";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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