gitextract_mcm7t2nt/ ├── .gitignore ├── LICENSE ├── README.md └── contents/ ├── add-am-pm-suffix-to-an-hour.mdx ├── add-an-ordinal-suffix-to-a-number.mdx ├── box-handler.mdx ├── calculate-fibonacci-numbers.mdx ├── calculate-the-angle-of-a-line-defined-by-two-points.mdx ├── calculate-the-average-of-arguments.mdx ├── calculate-the-distance-between-two-points.mdx ├── calculate-the-distance-to-the-bottom-of-a-page.mdx ├── calculate-the-division-of-arguments.mdx ├── calculate-the-factorial-of-a-number.mdx ├── calculate-the-linear-interpolation-between-two-numbers.mdx ├── calculate-the-midpoint-between-two-points.mdx ├── calculate-the-midpoint-of-a-given-range.mdx ├── calculate-the-mod-of-collection-index.mdx ├── calculate-the-number-of-difference-days-between-two-dates.mdx ├── calculate-the-number-of-months-between-two-dates.mdx ├── calculate-the-remainder-of-division-of-arguments.mdx ├── calculate-the-sum-of-arguments.mdx ├── capitalize-a-string.mdx ├── cast-a-value-as-an-array.mdx ├── check-if-a-character-is-a-digit.mdx ├── check-if-a-date-is-a-weekday.mdx ├── check-if-a-date-is-a-weekend.mdx ├── check-if-a-date-is-between-two-dates.mdx ├── check-if-a-date-is-today.mdx ├── check-if-a-date-occurs-in-the-current-year.mdx ├── check-if-a-flat-array-has-duplicate-values.mdx ├── check-if-a-given-dom-rect-is-contained-within-another-dom-rect.mdx ├── check-if-a-given-integer-is-a-prime-number.mdx ├── check-if-a-number-is-a-power-of-2.mdx ├── check-if-a-number-is-even.mdx ├── check-if-a-number-is-in-a-given-range.mdx ├── check-if-a-number-is-negative.mdx ├── check-if-a-number-is-odd.mdx ├── check-if-a-number-is-positive.mdx ├── check-if-a-path-is-relative.mdx ├── check-if-a-point-is-inside-a-rectangle.mdx ├── check-if-a-rectangle-contains-other-one.mdx ├── check-if-a-rectangle-overlaps-other-one.mdx ├── check-if-a-string-consists-of-a-repeated-character-sequence.mdx ├── check-if-a-string-contains-lower-case-characters.mdx ├── check-if-a-string-contains-only-ascii-characters.mdx ├── check-if-a-string-contains-only-digits.mdx ├── check-if-a-string-contains-only-letters-and-numbers.mdx ├── check-if-a-string-contains-only-letters.mdx ├── check-if-a-string-contains-upper-case-characters.mdx ├── check-if-a-string-contains-whitespace.mdx ├── check-if-a-string-is-a-hexadecimal-color.mdx ├── check-if-a-string-is-a-hexadecimal-number.mdx ├── check-if-a-string-is-a-mongo-db-object-id.mdx ├── check-if-a-string-is-a-palindrome.mdx ├── check-if-a-string-is-an-octal-number.mdx ├── check-if-a-string-is-lower-case.mdx ├── check-if-a-string-is-upper-case.mdx ├── check-if-a-url-is-absolute.mdx ├── check-if-a-value-is-a-business-identifier-code.mdx ├── check-if-a-value-is-a-function.mdx ├── check-if-a-value-is-a-generator-function.mdx ├── check-if-a-value-is-a-number.mdx ├── check-if-a-value-is-a-plain-object.mdx ├── check-if-a-value-is-a-regular-expression.mdx ├── check-if-a-value-is-a-string.mdx ├── check-if-a-value-is-an-async-function.mdx ├── check-if-a-value-is-an-object.mdx ├── check-if-a-value-is-base32-encoded.mdx ├── check-if-a-value-is-base58-encoded.mdx ├── check-if-a-value-is-base64-encoded.mdx ├── check-if-a-value-is-nil.mdx ├── check-if-a-year-is-leap-year.mdx ├── check-if-all-array-elements-are-equal-to-a-given-value.mdx ├── check-if-all-items-in-an-array-are-equal.mdx ├── check-if-an-array-contains-a-value-matching-some-criterias.mdx ├── check-if-an-array-is-empty.mdx ├── check-if-an-array-is-not-empty.mdx ├── check-if-an-array-is-subset-of-other-array.mdx ├── check-if-an-element-has-css-overflow.mdx ├── check-if-an-element-has-overflow.mdx ├── check-if-an-element-is-a-descendant-of-another.mdx ├── check-if-an-element-is-focused.mdx ├── check-if-an-object-is-a-promise.mdx ├── check-if-an-object-is-an-array.mdx ├── check-if-an-object-is-empty.mdx ├── check-if-multiple-objects-are-equal.mdx ├── check-if-the-code-is-running-in-jest.mdx ├── check-if-the-code-is-running-in-node-js.mdx ├── check-if-the-code-is-running-in-the-browser.mdx ├── check-if-the-touch-events-are-supported.mdx ├── check-if-two-dom-rects-intersect.mdx ├── check-if-two-strings-are-anagram.mdx ├── check-if-user-scrolls-to-the-bottom-of-the-page.mdx ├── clamp-a-number-between-two-values.mdx ├── clear-all-cookies.mdx ├── clone-an-array.mdx ├── compare-two-arrays-regardless-of-order.mdx ├── compare-two-arrays.mdx ├── compare-two-dates.mdx ├── compare-two-dom-rects-for-size-and-position-match.mdx ├── compose-functions-from-left-to-right.mdx ├── compose-functions.mdx ├── compute-the-greatest-common-divisor-between-two-numbers.mdx ├── convert-3-digits-color-to-6-digits-color.mdx ├── convert-a-base64-encoded-string-to-an-uint8-array.mdx ├── convert-a-date-to-yyyy-mm-dd-format.mdx ├── convert-a-lab-color-to-an-lch-color.mdx ├── convert-a-letter-to-associate-emoji.mdx ├── convert-a-number-to-equivalent-characters.mdx ├── convert-a-string-to-camel-case.mdx ├── convert-a-string-to-number.mdx ├── convert-a-string-to-pascal-case.mdx ├── convert-a-string-to-url-slug.mdx ├── convert-a-windows-file-path-to-unix-path.mdx ├── convert-an-array-of-objects-to-a-single-object.mdx ├── convert-an-array-of-strings-to-numbers.mdx ├── convert-an-lch-color-to-a-lab-color.mdx ├── convert-an-uint8-array-to-a-base64-encoded-string.mdx ├── convert-camel-case-to-kebab-case-and-vice-versa.mdx ├── convert-celsius-to-fahrenheit.mdx ├── convert-cookie-to-object.mdx ├── convert-decimal-to-binary-recursively.mdx ├── convert-degrees-to-radians.mdx ├── convert-fahrenheit-to-celsius.mdx ├── convert-hex-to-rgb.mdx ├── convert-radians-to-degrees.mdx ├── convert-rgb-color-to-hex.mdx ├── convert-seconds-to-hh-mm-ss-format.mdx ├── convert-snake-case-to-camel-case.mdx ├── convert-the-name-of-an-excel-column-to-number.mdx ├── convert-url-parameters-to-object.mdx ├── count-by-the-properties-of-an-array-of-objects.mdx ├── count-the-number-of-words-in-a-string.mdx ├── count-the-occurrences-of-a-character-in-a-string.mdx ├── count-the-occurrences-of-a-value-in-an-array.mdx ├── count-the-occurrences-of-array-elements.mdx ├── create-a-function-that-accepts-a-single-argument.mdx ├── create-an-array-of-cumulative-sum.mdx ├── create-an-array-of-numbers-in-the-given-range.mdx ├── create-an-empty-function.mdx ├── create-an-empty-map-that-does-not-have-properties.mdx ├── create-an-object-from-the-pairs-of-key-and-value.mdx ├── create-cartesian-product.mdx ├── curry-a-function.mdx ├── decapitalize-a-string.mdx ├── decode-a-jwt-token.mdx ├── decode-html-entities.mdx ├── delay-the-evaluation-of-a-function.mdx ├── detect-dark-mode.mdx ├── detect-internet-explorer-browser.mdx ├── detect-macos-browser.mdx ├── determine-one-year-from-now.mdx ├── easing-functions.mdx ├── empty-an-array.mdx ├── emulate-a-dice-throw.mdx ├── encode-a-url.mdx ├── escape-html-special-characters.mdx ├── execute-a-function-once.mdx ├── extract-values-of-a-property-from-an-array-of-objects.mdx ├── extract-year-month-day-hour-minute-second-and-millisecond-from-a-date.mdx ├── find-the-closest-number-from-an-array.mdx ├── find-the-index-of-the-last-matching-item-of-an-array.mdx ├── find-the-index-of-the-maximum-item-of-an-array.mdx ├── find-the-index-of-the-minimum-item-of-an-array.mdx ├── find-the-length-of-the-longest-string-in-an-array.mdx ├── find-the-maximum-item-of-an-array-by-given-key.mdx ├── find-the-maximum-item-of-an-array.mdx ├── find-the-minimum-item-of-an-array-by-given-key.mdx ├── find-the-minimum-item-of-an-array.mdx ├── flatten-an-array.mdx ├── flip-the-arguments-of-a-function.mdx ├── format-a-date-for-the-given-locale.mdx ├── format-a-string.mdx ├── generate-a-hash-of-a-string.mdx ├── generate-a-random-boolean.mdx ├── generate-a-random-floating-point-number-in-given-range.mdx ├── generate-a-random-hex-color.mdx ├── generate-a-random-integer-in-given-range.mdx ├── generate-a-random-ip-address.mdx ├── generate-a-random-sign.mdx ├── generate-a-random-string-from-given-characters.mdx ├── generate-a-random-string-using-node-crypto-module.mdx ├── generate-a-random-string-with-given-length.mdx ├── generate-a-random-uuid.mdx ├── generate-a-weighted-random-number-in-given-range.mdx ├── generate-an-array-of-alphabet-characters.mdx ├── generate-an-array-of-random-integers-in-a-given-range.mdx ├── generate-an-unique-and-increment-id.mdx ├── get-a-random-item-and-remove-it-from-an-array.mdx ├── get-a-random-item-from-an-array.mdx ├── get-all-arrays-of-consecutive-elements.mdx ├── get-all-nth-items-of-an-array.mdx ├── get-all-siblings-of-an-element.mdx ├── get-all-subsets-of-an-array.mdx ├── get-hours-and-minutes-from-decimal-time.mdx ├── get-indices-of-a-value-in-an-array.mdx ├── get-random-items-of-an-array.mdx ├── get-the-arrays-of-digits-from-a-number.mdx ├── get-the-average-of-an-array.mdx ├── get-the-base-url-without-any-parameters.mdx ├── get-the-center-point-of-a-dom-rect.mdx ├── get-the-current-quarter-of-a-date.mdx ├── get-the-current-timestamp-in-seconds.mdx ├── get-the-day-of-the-year-from-a-date.mdx ├── get-the-file-extension-from-a-file-name.mdx ├── get-the-file-name-from-a-url.mdx ├── get-the-first-date-in-the-month-of-a-date.mdx ├── get-the-first-defined-and-non-null-argument.mdx ├── get-the-intersection-of-arrays.mdx ├── get-the-intersection-range-between-two-ranges.mdx ├── get-the-last-date-in-the-month-of-a-date.mdx ├── get-the-length-of-a-string-in-bytes.mdx ├── get-the-month-name-of-a-date.mdx ├── get-the-number-of-a-character-in-a-string.mdx ├── get-the-number-of-days-in-given-month.mdx ├── get-the-position-of-an-element-relative-to-the-document.mdx ├── get-the-rank-of-an-array-of-numbers.mdx ├── get-the-selected-text.mdx ├── get-the-sum-of-an-array-of-numbers.mdx ├── get-the-timezone-string.mdx ├── get-the-tomorrow-date.mdx ├── get-the-total-number-of-days-in-a-year.mdx ├── get-the-unique-values-of-an-array.mdx ├── get-the-value-at-given-path-of-an-object.mdx ├── get-the-value-of-a-cookie.mdx ├── get-the-value-of-a-param-from-a-url.mdx ├── get-the-weekday-of-a-date.mdx ├── get-the-yesterday-date.mdx ├── get-type-of-a-variable-in-string.mdx ├── get-union-of-arrays.mdx ├── get-unique-arr-obj.mdx ├── go-back-to-the-previous-page.mdx ├── group-an-array-of-objects-by-a-key.mdx ├── hide-an-element.mdx ├── identity-function.mdx ├── immutably-rename-object-keys.mdx ├── initialize-the-current-date-but-set-time-to-midnight.mdx ├── insert-an-element-after-other-one.mdx ├── insert-an-element-before-other-one.mdx ├── insert-given-html-after-an-element.mdx ├── insert-given-html-before-an-element.mdx ├── intersperse-element-between-elements.mdx ├── invert-keys-and-values-of-an-object.mdx ├── linear-scale-number-in-ranges.mdx ├── linear-scale-of-a-number-between-two-ranges.mdx ├── logical-xor-operator.mdx ├── make-the-first-character-of-a-string-lowercase.mdx ├── memoize-a-function.mdx ├── merge-two-arrays.mdx ├── multiply-arguments.mdx ├── normalize-file-path-slashes.mdx ├── normalize-the-ratio-of-a-number-in-a-range.mdx ├── omit-a-subset-of-properties-from-an-object.mdx ├── partially-apply-a-function.mdx ├── partition-an-array-based-on-a-condition.mdx ├── pick-a-random-property-of-an-object.mdx ├── pick-a-subset-of-properties-of-an-object.mdx ├── pick-random-lines-from-a-text-document.mdx ├── prefix-an-integer-with-zeros.mdx ├── prepend-a-line-number-to-each-line-of-a-text-document.mdx ├── redirect-the-page-to-https-if-it-is-in-http.mdx ├── redirect-to-another-page.mdx ├── reload-the-current-page.mdx ├── remove-all-null-and-undefined-properties-from-an-object.mdx ├── remove-duplicate-lines-of-a-text-document.mdx ├── remove-duplicate-values-in-an-array.mdx ├── remove-empty-lines-of-a-text-document.mdx ├── remove-falsy-values-from-array.mdx ├── remove-spaces-from-a-string.mdx ├── repeat-a-string.mdx ├── repeat-an-array.mdx ├── replace-all-line-breaks-with-br-elements.mdx ├── replace-all-tab-characters-with-spaces.mdx ├── replace-an-element.mdx ├── replace-multiple-spaces-with-a-single-space.mdx ├── replace-the-first-given-number-of-characters-of-a-string-with-another-character.mdx ├── reverse-a-string.mdx ├── reverse-the-order-of-lines-of-a-text.mdx ├── round-a-number-to-a-given-number-of-digits.mdx ├── round-a-number-to-the-nearest-multiple-of-a-given-value.mdx ├── run-promises-in-sequence.mdx ├── scroll-to-top-of-the-page.mdx ├── serialize-form-data.mdx ├── shallow-copy-an-object.mdx ├── show-an-element.mdx ├── shuffle-an-array.mdx ├── sort-an-array-of-dates.mdx ├── sort-an-array-of-items-by-given-key.mdx ├── sort-an-array-of-numbers.mdx ├── sort-an-object-by-its-properties.mdx ├── sort-lines-of-a-text-document-in-the-alphabetical-order.mdx ├── sort-the-characters-of-a-string-in-the-alphabetical-order.mdx ├── split-an-array-into-chunks.mdx ├── strip-ansi-codes-from-a-string.mdx ├── strip-html-from-a-given-text.mdx ├── subtract-arguments.mdx ├── swap-case-of-characters-in-a-string.mdx ├── swap-the-rows-and-columns-of-a-matrix.mdx ├── swap-two-array-items.mdx ├── swap-two-variables.mdx ├── toggle-an-element.mdx ├── trim-slashes-at-the-beginning-and-the-end-of-a-string.mdx ├── trim-some-character.mdx ├── trim-the-file-extension-from-a-file-name.mdx ├── truncate-a-number-at-decimal.mdx ├── truncate-a-number-to-a-given-number-of-decimal-places-without-rounding.mdx ├── truncate-a-string-at-full-words.mdx ├── uncurry-a-function.mdx ├── unescape-html-special-characters.mdx ├── unzip-an-array-of-arrays.mdx ├── uppercase-the-first-character-of-each-word-in-a-string.mdx ├── validate-a-gregorian-date.mdx ├── wait-for-an-amount-of-time.mdx ├── wait-for-the-next-event-loop.mdx ├── wrap-a-number-between-two-values.mdx └── zip-multiple-arrays.mdx