Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@anselan/maprange

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anselan/maprange - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

package.json
{
"name": "@anselan/maprange",
"version": "0.6.0",
"version": "0.6.1",
"description": "Map values from one range to another",

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

# Map Range in JS
Inspired by the [map](https://processing.org/reference/map_.html) function in the creative coding framework [Processing](https://processing.org/).
Inspired by the [map](https://processing.org/reference/map_.html) function in the creative coding framework [Processing](https://processing.org/) and its counterpart [ofMap](https://openframeworks.cc//documentation/math/ofMath/#!show_ofMap) in [openFrameworks](https://openframeworks.cc/). Especially useful for creative coding applications, e.g. animations.

@@ -34,4 +34,4 @@ ## Just show me some examples!

## Usage
### `remap`:
## Details
### `remap`
Basic remapping of a value from one range to another.

@@ -38,0 +38,0 @@ > **remap (value, inputRange, targetRange, clamp, shouldRound)**

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