Normalizer is created for normalize the array with numbers.
Tada! Normalizer supports TypeScript.
npm i @mincomk/normalizer
Using normalizer is super simple.
const { normalize } = require("@mincomk/normalizer");
let array = [2, 4, 6, -8];
let norm = normalize(array);
console.log(norm);
Or for TypeScript.
import { normalize } from "@mincomk/normalizer";
let array = [2, 4, 6, -8];
let norm = normalize(array);
console.log(norm);
Copyright (c) Minco 2022 All right reserved.