{"id":15383337,"url":"https://github.com/andreruffert/js-utils","last_synced_at":"2025-10-27T02:17:05.004Z","repository":{"id":19632120,"uuid":"22884123","full_name":"andreruffert/js-utils","owner":"andreruffert","description":"🔥 A collection of some JavaScript utility functions for everyday use","archived":false,"fork":false,"pushed_at":"2018-01-19T13:42:00.000Z","size":41,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T00:41:12.146Z","etag":null,"topics":["javascript","js","utility"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreruffert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-12T16:19:09.000Z","updated_at":"2021-02-17T13:12:29.000Z","dependencies_parsed_at":"2022-08-24T02:50:59.106Z","dependency_job_id":null,"html_url":"https://github.com/andreruffert/js-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreruffert%2Fjs-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreruffert%2Fjs-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreruffert%2Fjs-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreruffert%2Fjs-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreruffert","download_url":"https://codeload.github.com/andreruffert/js-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129006,"owners_count":21217266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","js","utility"],"created_at":"2024-10-01T14:37:00.450Z","updated_at":"2025-10-09T00:19:43.074Z","avatar_url":"https://github.com/andreruffert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A collection of some JavaScript utility functions for everyday use.\n\nTake what you need! :v:\n\n### array\n* [fillArray()](/array/fillArray.js)\n* [getClosestNumber()](/array/getClosestNumber.js)\n* [shuffle()](/array/shuffle.js)\n* [toArray()](/array/toArray.js)\n\n### date\n* [daysInMonth()](/date/daysInMonth.js)\n\n### detect\n* [getOrientation()](/detect/getOrientation.js)\n* [getPixelRatio()](/detect/getPixelRatio.js)\n* [hasAppleColorEmoji()](/detect/hasAppleColorEmoji.js)\n* [hasEmojiSupport()](/detect/hasEmojiSupport.js)\n* [hasLocalStorageSupport()](/detect/hasLocalStorageSupport.js)\n* [hasSvgSupport()](/detect/hasSvgSupport.js)\n* [hasTouchScreen()](/detect/hasTouchScreen.js)\n* [isAndroid()](/detect/isAndroid.js)\n* [isFireFoxOSApp()](/detect/isFireFoxOSApp.js)\n* [isIOS()](/detect/isIOS.js)\n* [isModernBrowser()](/detect/isModernBrowser.js)\n* [hasWebComponentSupport()](/detect/hasWebComponentSupport.js)\n\n### element\n* [hasHorizontalScrollBar()](/element/hasHorizontalScrollBar.js)\n* [hasVerticalScrollBar()](/element/hasVerticalScrollBar.js)\n* [isHidden()](/element/isHidden.js)\n\n### function\n* [debounce()](/function/debounce.js)\n* [delay()](/function/delay.js)\n* [isEmpty()](/function/isEmpty.js)\n* [noop()](/function/noop.js)\n* [once()](/function/once.js)\n* [poll()](/function/poll.js)\n* [selectContent()](/function/selectContent.js)\n\n### number\n* [currencyFormat()](/number/currencyFormat.js)\n* [pad()](/number/pad.js)\n* [random()](/number/random.js)\n\n### object\n* [extend()](/object/extend.js)\n* [isFunction()](/object/isFunction.js)\n* [isString()](/object/isString.js)\n\n### string\n* [removeLeadingSlash()](/string/removeLeadingSlash.js)\n* [slugify()](/string/slugify.js)\n* [stripEntities()](/string/stripEntities.js)\n* [stripTags()](/string/stripTags.js)\n* [ucfirst()](/string/ucfirst.js)\n\n### url\n* [getAbsoluteUrl()](/url/getAbsoluteUrl.js)\n* [getCurrentQueryString()](/url/getCurrentQueryString.js)\n* [getUrlHash()](/url/getUrlHash.js)\n* [getUrlVars()](/url/getUrlVars.js)\n\n\n## License\n\nMIT © [André Ruffert](http://andreruffert.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreruffert%2Fjs-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreruffert%2Fjs-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreruffert%2Fjs-utils/lists"}