functions-plus
v1.0.2
Published
a simple library with prebuilt functions for readability
Downloads
211
Maintainers
Readme
functions+ Library
Version: 1.0.0
Name: functions+
Description: A simple library with prebuilt functions for readability and ease of use in JavaScript.
Features
Math Functions
Includes functions for basic arithmetic operations, random number generation, number theory, and more.String Functions
Includes functions for manipulating and transforming strings, such as converting to uppercase, lowercase, and trimming.Utility Functions
Offers various utilities, such as formatting dates, cloning objects, merging objects, and calculating time differences.
Functions
Versioning
- Version
Maths Functions
- Add
- Subtract
- Remainder
- Divide
- Multiply
- Power
- RandomInRange
- Random
- RandomFloat
- RandomBool
- Absolute
- Root
- Round
- Ceiling
- Floor
- Fixed
- Percent
- Factorial
- Min
- Max
- Gcd
- Lcm
- Fibonacci
- IsPrime
- Sas
- NumberToBinary
- Quadratic
- Over
- Under
- Equal
String Functions
- Join
- Uppercase
- Lowercase
- Trim
Utility Functions
- FormatDateDDMMYY
- FormatDateMMDDYY
- FormatDateYYMMDD
- RandomColor
- RandomColorRGB
- DeepClone
- MergeObjects
- ObjToQueryString
- DateDifference
- Sort
- Flatten
- Shuffle
- Median
- Mode
- ReverseString
- ToTitleCase
- TimeSince
- DayOfWeek
- AddDays
- Lerp
- DeepEqual
Installation
You can install the functions+
library using npm:
npm install functions-plus