1.0.7 • Published 6 months ago
reis_lib v1.0.7
Reis Library
Reis Library (reis_lib) it's a library that realize various functions to facilitate your typescript project offering DOM, arithmatic, joke and among others functions.
Installation
Use the package manager npm to install reis_lib.
npm i reis_lib
Usage
import { calcularMedia, RGB, ReduzurVetor } from "./src/reis_lib"
// returns the arithmetic average
calcularMedia([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) // output: 5.5
// returns the sum of the all elements in an array
reduzirVetor([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
// returns a RGB animation to a HTML element using the id of element and the place that you want apply it
RGB("elementId", "tag_type", "place")
RGB output
Contributing
Pull requests are welcome. For major changes, please send a e-mail for the adress: reis.lenny@outlook.com