New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

utls

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utls

Utilities

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 11 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts