utool
v0.0.3
Published
Swiss knife for any JavaScript developer
Readme
utool
utool is an library for Node.JS which provide powerful function for daily tasks. So, in the few words, it is a swiss knife for any javascript developer.
Installation
You can install ustat with the npm:
npm install utoolDocumentation
capitalize(source)
Represents a function for strings capitalization
Parameters
source: string, - String for capitalization
uncapitalize(source)
Represents a function for strings uncapitalization
Parameters
source: string, - String for uncapitalization
uppercase(source)
Represents a function for strings upper-case
Parameters
source: string, - String for upper-case
lowercase(source)
Represents a function for strings lower-case
Parameters
source: string, - String for lower-case
reverse(source)
Represents a function for strings/arrays reverse
Parameters
source, - String/Array for reverse
removeMultipleSpaces(source)
Represents a function for deletion multiple whitespaces from string
Parameters
source: string, - String for deletion multiple spaces
first(source)
Get first element in array
Parameters
source: Array, - Array
last(source)
Get last element in array
Parameters
source: Array, - Array
rest(source, from)
Get rest of array
Parameters
source: Array, - Array
from: number, - Number of elements for omit
