dtu
v1.0.10
Published
This is all data type utilities for saving time and easy working process
Downloads
10
Maintainers
Readme
DTU ( DATA TYPE UTILITIES )
How to use:
in ES6+
import "dtu"
in ES5
require "dtu"
This package is used for saving time in simple and daily workflows. For example:
- String modification
- uppercase first letter, last letter or any letter ( String.up( || "end" || undefined ))
- lowercase first letter, last letter or any letter ( String.low( || "end" || undefined ))
- easy reverse of letters ( String.revorder( || string: ? ))
- Array modification
- remove duplicates with a single method ( Array.removeDuplicates() )
- filter array which leaves only given data type ( Array.arrOnly("string" || "number" || ... ))
- Compare data types
- compare data easily with isEqual() function ( isEqual())
true | false