Skip to main content
Module

x/tui/src/utils/mod.ts>normalize

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
function normalize
import { normalize } from "https://deno.land/x/tui@1.3.4/src/utils/mod.ts";

Normalize {value} between 0 and 1

Parameters

value: number
min: number
max: number

Returns

number