manipulations
v1.0.6
Published
A NPM package to make your life as a developer even easier.
Downloads
4
Maintainers
Readme
Happy coding!
const man = require("manipulations")
man.reverseStr("Rani") // inaR
$ npm i manipulations
- reverseStr - returns the string reversed
- randomNum - returns a number between a set of 2 numbers
- smallest - returns the smallest number in an array
- biggest - returns the biggest number in the array
- sortAsc - returns the array in an ascending order
- sortDesc - returns the array in an descending order
- avg - returns the average of an array
- divisible - returns true/false if a number is divisible by another
- sum - returns the sum of a array
- randomArr - returns the array in a random order
- remDupes - returns the array without any duplicates