Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 560 Bytes

File metadata and controls

29 lines (24 loc) · 560 Bytes

Normalizer

Normalizer is created for normalize the array with numbers.

Installation

Tada! Normalizer supports TypeScript.

npm i @mincomk/normalizer

Usage

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

Copyright (c) Minco 2022 All right reserved.