Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andreruffert/js-utils

πŸ”₯ A collection of some JavaScript utility functions for everyday use
https://github.com/andreruffert/js-utils

javascript js utility

Last synced: about 1 month ago
JSON representation

πŸ”₯ A collection of some JavaScript utility functions for everyday use

Awesome Lists containing this project

README

        

# A collection of some JavaScript utility functions for everyday use.

Take what you need! :v:

### array
* [fillArray()](/array/fillArray.js)
* [getClosestNumber()](/array/getClosestNumber.js)
* [shuffle()](/array/shuffle.js)
* [toArray()](/array/toArray.js)

### date
* [daysInMonth()](/date/daysInMonth.js)

### detect
* [getOrientation()](/detect/getOrientation.js)
* [getPixelRatio()](/detect/getPixelRatio.js)
* [hasAppleColorEmoji()](/detect/hasAppleColorEmoji.js)
* [hasEmojiSupport()](/detect/hasEmojiSupport.js)
* [hasLocalStorageSupport()](/detect/hasLocalStorageSupport.js)
* [hasSvgSupport()](/detect/hasSvgSupport.js)
* [hasTouchScreen()](/detect/hasTouchScreen.js)
* [isAndroid()](/detect/isAndroid.js)
* [isFireFoxOSApp()](/detect/isFireFoxOSApp.js)
* [isIOS()](/detect/isIOS.js)
* [isModernBrowser()](/detect/isModernBrowser.js)
* [hasWebComponentSupport()](/detect/hasWebComponentSupport.js)

### element
* [hasHorizontalScrollBar()](/element/hasHorizontalScrollBar.js)
* [hasVerticalScrollBar()](/element/hasVerticalScrollBar.js)
* [isHidden()](/element/isHidden.js)

### function
* [debounce()](/function/debounce.js)
* [delay()](/function/delay.js)
* [isEmpty()](/function/isEmpty.js)
* [noop()](/function/noop.js)
* [once()](/function/once.js)
* [poll()](/function/poll.js)
* [selectContent()](/function/selectContent.js)

### number
* [currencyFormat()](/number/currencyFormat.js)
* [pad()](/number/pad.js)
* [random()](/number/random.js)

### object
* [extend()](/object/extend.js)
* [isFunction()](/object/isFunction.js)
* [isString()](/object/isString.js)

### string
* [removeLeadingSlash()](/string/removeLeadingSlash.js)
* [slugify()](/string/slugify.js)
* [stripEntities()](/string/stripEntities.js)
* [stripTags()](/string/stripTags.js)
* [ucfirst()](/string/ucfirst.js)

### url
* [getAbsoluteUrl()](/url/getAbsoluteUrl.js)
* [getCurrentQueryString()](/url/getCurrentQueryString.js)
* [getUrlHash()](/url/getUrlHash.js)
* [getUrlVars()](/url/getUrlVars.js)

## License

MIT Β© [AndrΓ© Ruffert](http://andreruffert.com)