0.3.0 • Published 7 years ago

utls v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Utilities

Build Status Coverage Status npm version npm Code Climate

getType(value)

Returns type of given value or name of function/object.

microtime()

Returns number of seconds since 1 January 1970 00:00:00 UTC.

ucFirst(string)

Returns a string with the first character of string capitalized, if that character is alphabetic.

lcFirst(string)

Returns a string with the first character of string lowercased, if that character is alphabetic.

camelCase(string)

Returns a camel-cased string. Word boundaries are "-", "_", " "

pascalCase(string)

Returns a pascal-cased string. Word boundaries are "-", "_", " "

fileExists(path)

Checks whether a file or directory exists path must be absolute path

mkdir(path)

extend(destination, source)

Copy properties from source to destination object

promisesWaterfall(promises, initial)

traverse(value, match, callback, key, origin)

Filters and transforms values

equals(first, second)

Checks objects or arrays are equal

vcopy(value)

isCircular

map

filter

Docs

See utls github.io pages

0.3.0

7 years ago

0.2.22

7 years ago

0.2.21

7 years ago

0.2.20

7 years ago

0.2.19

8 years ago

0.2.18

8 years ago

0.2.17

8 years ago

0.2.16

8 years ago

0.2.15

8 years ago

0.2.14

8 years ago

0.2.13

8 years ago

0.2.12

8 years ago

0.2.11

8 years ago

0.2.10

8 years ago

0.2.9

8 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

9 years ago

0.2.0

9 years ago