<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Programming &amp; Software Q&amp;A | CollectiveSolver - Recent questions tagged nodejs</title>
<link>https://collectivesolver.com/tag/nodejs</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to list all ISO countries (alpha-2 country code - country name) in Node.js</title>
<link>https://collectivesolver.com/98591/how-to-list-all-iso-countries-alpha-2-country-code-country-name-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/98591/how-to-list-all-iso-countries-alpha-2-country-code-country-name-in-node-js</guid>
<pubDate>Wed, 17 Jun 2026 15:20:45 +0000</pubDate>
</item>
<item>
<title>How to get the beginning and end of the day in Node.js</title>
<link>https://collectivesolver.com/92501/how-to-get-the-beginning-and-end-of-the-day-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/92501/how-to-get-the-beginning-and-end-of-the-day-in-node-js</guid>
<pubDate>Fri, 12 Dec 2025 08:45:26 +0000</pubDate>
</item>
<item>
<title>How to convert Base64 to a JSON string in Node.js</title>
<link>https://collectivesolver.com/92442/how-to-convert-base64-to-a-json-string-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/92442/how-to-convert-base64-to-a-json-string-in-node-js</guid>
<pubDate>Sun, 07 Dec 2025 20:56:55 +0000</pubDate>
</item>
<item>
<title>How to find the first 4-digit prime number where all digits are unique in Node.js</title>
<link>https://collectivesolver.com/91902/how-to-find-the-first-4-digit-prime-number-where-all-digits-are-unique-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/91902/how-to-find-the-first-4-digit-prime-number-where-all-digits-are-unique-in-node-js</guid>
<pubDate>Fri, 21 Nov 2025 07:29:19 +0000</pubDate>
</item>
<item>
<title>How to find the longest increasing not sorted subsequence (LIS) of a sequence of numbers in Node.js</title>
<link>https://collectivesolver.com/91365/how-to-find-the-longest-increasing-not-sorted-subsequence-lis-of-a-sequence-of-numbers-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/91365/how-to-find-the-longest-increasing-not-sorted-subsequence-lis-of-a-sequence-of-numbers-in-node-js</guid>
<pubDate>Fri, 07 Nov 2025 07:44:31 +0000</pubDate>
</item>
<item>
<title>How to find the smallest number that is evenly divisible by all of the numbers from 1 to 10 in Node.js</title>
<link>https://collectivesolver.com/90745/how-to-find-the-smallest-number-that-is-evenly-divisible-by-all-of-the-numbers-from-1-to-10-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/90745/how-to-find-the-smallest-number-that-is-evenly-divisible-by-all-of-the-numbers-from-1-to-10-in-node-js</guid>
<pubDate>Fri, 10 Oct 2025 09:29:43 +0000</pubDate>
</item>
<item>
<title>How to rotate a square matrix 90 degrees to the left in Node.js</title>
<link>https://collectivesolver.com/90608/how-to-rotate-a-square-matrix-90-degrees-to-the-left-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/90608/how-to-rotate-a-square-matrix-90-degrees-to-the-left-in-node-js</guid>
<pubDate>Mon, 06 Oct 2025 15:14:48 +0000</pubDate>
</item>
<item>
<title>How to count the number of sorted rows in either increasing or decreasing order in a matrix using Node.js</title>
<link>https://collectivesolver.com/90530/how-to-count-the-number-of-sorted-rows-in-either-increasing-or-decreasing-order-in-a-matrix-using-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/90530/how-to-count-the-number-of-sorted-rows-in-either-increasing-or-decreasing-order-in-a-matrix-using-node-js</guid>
<pubDate>Sat, 04 Oct 2025 06:08:49 +0000</pubDate>
</item>
<item>
<title>How to convet decimal number base-12 number in Node.js</title>
<link>https://collectivesolver.com/90045/how-to-convet-decimal-number-base-12-number-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/90045/how-to-convet-decimal-number-base-12-number-in-node-js</guid>
<pubDate>Thu, 11 Sep 2025 15:55:07 +0000</pubDate>
</item>
<item>
<title>How to find sum of the first N even numbers in Noed.js</title>
<link>https://collectivesolver.com/89948/how-to-find-sum-of-the-first-n-even-numbers-in-noed-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/89948/how-to-find-sum-of-the-first-n-even-numbers-in-noed-js</guid>
<pubDate>Sat, 06 Sep 2025 11:18:31 +0000</pubDate>
</item>
<item>
<title>How to find the position of the first set bit (1-bit) of a number in Node.js</title>
<link>https://collectivesolver.com/89900/how-to-find-the-position-of-the-first-set-bit-1-bit-of-a-number-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/89900/how-to-find-the-position-of-the-first-set-bit-1-bit-of-a-number-in-node-js</guid>
<pubDate>Thu, 04 Sep 2025 14:34:25 +0000</pubDate>
</item>
<item>
<title>How to sort an array that consists of only 0s and 1s in Node.js</title>
<link>https://collectivesolver.com/89867/how-to-sort-an-array-that-consists-of-only-0s-and-1s-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/89867/how-to-sort-an-array-that-consists-of-only-0s-and-1s-in-node-js</guid>
<pubDate>Wed, 03 Sep 2025 10:26:30 +0000</pubDate>
</item>
<item>
<title>How to sort an array of strings where each string represents a decimal number in Node.js</title>
<link>https://collectivesolver.com/89831/how-to-sort-an-array-of-strings-where-each-string-represents-a-decimal-number-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/89831/how-to-sort-an-array-of-strings-where-each-string-represents-a-decimal-number-in-node-js</guid>
<pubDate>Mon, 01 Sep 2025 16:45:34 +0000</pubDate>
</item>
<item>
<title>How to find the number of squares in an N*N grid with Node.js</title>
<link>https://collectivesolver.com/89797/how-to-find-the-number-of-squares-in-an-n-n-grid-with-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/89797/how-to-find-the-number-of-squares-in-an-n-n-grid-with-node-js</guid>
<pubDate>Sun, 31 Aug 2025 18:41:09 +0000</pubDate>
</item>
<item>
<title>How to calculate compound interest in Node.js</title>
<link>https://collectivesolver.com/89764/how-to-calculate-compound-interest-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/89764/how-to-calculate-compound-interest-in-node-js</guid>
<pubDate>Sat, 30 Aug 2025 19:48:00 +0000</pubDate>
</item>
<item>
<title>How to get the last digit of a big int in Node.js</title>
<link>https://collectivesolver.com/89675/how-to-get-the-last-digit-of-a-big-int-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/89675/how-to-get-the-last-digit-of-a-big-int-in-node-js</guid>
<pubDate>Wed, 27 Aug 2025 05:01:49 +0000</pubDate>
</item>
<item>
<title>How to implement a stack in Node.js</title>
<link>https://collectivesolver.com/89409/how-to-implement-a-stack-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/89409/how-to-implement-a-stack-in-node-js</guid>
<pubDate>Fri, 15 Aug 2025 07:37:41 +0000</pubDate>
</item>
<item>
<title>How to convert binary digits to a byte array in Node.js</title>
<link>https://collectivesolver.com/89091/how-to-convert-binary-digits-to-a-byte-array-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/89091/how-to-convert-binary-digits-to-a-byte-array-in-node-js</guid>
<pubDate>Mon, 04 Aug 2025 16:48:49 +0000</pubDate>
</item>
<item>
<title>How to set specific bits in a char with Node.js</title>
<link>https://collectivesolver.com/88850/how-to-set-specific-bits-in-a-char-with-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88850/how-to-set-specific-bits-in-a-char-with-node-js</guid>
<pubDate>Thu, 31 Jul 2025 06:52:54 +0000</pubDate>
</item>
<item>
<title>How to extract a float from a string in Node.js</title>
<link>https://collectivesolver.com/88790/how-to-extract-a-float-from-a-string-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88790/how-to-extract-a-float-from-a-string-in-node-js</guid>
<pubDate>Tue, 29 Jul 2025 05:25:44 +0000</pubDate>
</item>
<item>
<title>How to extract multiple floats from a string of floats in Node.js</title>
<link>https://collectivesolver.com/88757/how-to-extract-multiple-floats-from-a-string-of-floats-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88757/how-to-extract-multiple-floats-from-a-string-of-floats-in-node-js</guid>
<pubDate>Mon, 28 Jul 2025 07:21:49 +0000</pubDate>
</item>
<item>
<title>How to create a string with a repeated character N times in Node.js</title>
<link>https://collectivesolver.com/88737/how-to-create-a-string-with-a-repeated-character-n-times-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88737/how-to-create-a-string-with-a-repeated-character-n-times-in-node-js</guid>
<pubDate>Mon, 28 Jul 2025 05:39:23 +0000</pubDate>
</item>
<item>
<title>How to check if an integer contains an even or odd number of bits set in Node.js</title>
<link>https://collectivesolver.com/88700/how-to-check-if-an-integer-contains-an-even-or-odd-number-of-bits-set-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88700/how-to-check-if-an-integer-contains-an-even-or-odd-number-of-bits-set-in-node-js</guid>
<pubDate>Sun, 27 Jul 2025 08:58:45 +0000</pubDate>
</item>
<item>
<title>How to find pythagorean triplet for which a + b + c = 1000 in Node.js</title>
<link>https://collectivesolver.com/88611/how-to-find-pythagorean-triplet-for-which-a-b-c-1000-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88611/how-to-find-pythagorean-triplet-for-which-a-b-c-1000-in-node-js</guid>
<pubDate>Fri, 25 Jul 2025 14:48:12 +0000</pubDate>
</item>
<item>
<title>How to check if two integers have opposite signs in Node.js</title>
<link>https://collectivesolver.com/88575/how-to-check-if-two-integers-have-opposite-signs-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88575/how-to-check-if-two-integers-have-opposite-signs-in-node-js</guid>
<pubDate>Thu, 24 Jul 2025 15:57:12 +0000</pubDate>
</item>
<item>
<title>How to replace multiple consecutive question marks (?) with a single question mark in Node.js</title>
<link>https://collectivesolver.com/88565/how-to-replace-multiple-consecutive-question-marks-with-a-single-question-mark-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88565/how-to-replace-multiple-consecutive-question-marks-with-a-single-question-mark-in-node-js</guid>
<pubDate>Thu, 24 Jul 2025 10:24:17 +0000</pubDate>
</item>
<item>
<title>How to count the trailing zeros in a binary number using Node.js</title>
<link>https://collectivesolver.com/88522/how-to-count-the-trailing-zeros-in-a-binary-number-using-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88522/how-to-count-the-trailing-zeros-in-a-binary-number-using-node-js</guid>
<pubDate>Wed, 23 Jul 2025 15:04:26 +0000</pubDate>
</item>
<item>
<title>How to format time hours-minutes-seconds in Node.js</title>
<link>https://collectivesolver.com/88495/how-to-format-time-hours-minutes-seconds-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88495/how-to-format-time-hours-minutes-seconds-in-node-js</guid>
<pubDate>Tue, 22 Jul 2025 18:30:28 +0000</pubDate>
</item>
<item>
<title>How to split a string with multiple separators in Node.js</title>
<link>https://collectivesolver.com/88440/how-to-split-a-string-with-multiple-separators-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88440/how-to-split-a-string-with-multiple-separators-in-node-js</guid>
<pubDate>Mon, 21 Jul 2025 09:58:50 +0000</pubDate>
</item>
<item>
<title>How to replace the first occurrence of a substring in a string with Node.js</title>
<link>https://collectivesolver.com/88407/how-to-replace-the-first-occurrence-of-a-substring-in-a-string-with-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88407/how-to-replace-the-first-occurrence-of-a-substring-in-a-string-with-node-js</guid>
<pubDate>Sun, 20 Jul 2025 14:44:55 +0000</pubDate>
</item>
<item>
<title>How to count backwards (Print the numbers N, N - 1, ..., 0 (included)) in Node.js</title>
<link>https://collectivesolver.com/88374/how-to-count-backwards-print-the-numbers-n-n-1-0-included-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88374/how-to-count-backwards-print-the-numbers-n-n-1-0-included-in-node-js</guid>
<pubDate>Sun, 20 Jul 2025 08:31:21 +0000</pubDate>
</item>
<item>
<title>How to match a substring within 2 square brackets using RegEx in Node.js</title>
<link>https://collectivesolver.com/88321/how-to-match-a-substring-within-2-square-brackets-using-regex-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88321/how-to-match-a-substring-within-2-square-brackets-using-regex-in-node-js</guid>
<pubDate>Sat, 19 Jul 2025 09:26:14 +0000</pubDate>
</item>
<item>
<title>How to convert binary string to integer in Node.js</title>
<link>https://collectivesolver.com/88278/how-to-convert-binary-string-to-integer-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88278/how-to-convert-binary-string-to-integer-in-node-js</guid>
<pubDate>Fri, 18 Jul 2025 10:34:05 +0000</pubDate>
</item>
<item>
<title>How to remove stop words from a string in Node.js</title>
<link>https://collectivesolver.com/88263/how-to-remove-stop-words-from-a-string-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88263/how-to-remove-stop-words-from-a-string-in-node-js</guid>
<pubDate>Fri, 18 Jul 2025 07:54:45 +0000</pubDate>
</item>
<item>
<title>How to pick a random value from a map in Node.js</title>
<link>https://collectivesolver.com/88225/how-to-pick-a-random-value-from-a-map-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88225/how-to-pick-a-random-value-from-a-map-in-node-js</guid>
<pubDate>Thu, 17 Jul 2025 07:10:07 +0000</pubDate>
</item>
<item>
<title>How to find the 100001 prime number in Node.js</title>
<link>https://collectivesolver.com/88194/how-to-find-the-100001-prime-number-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88194/how-to-find-the-100001-prime-number-in-node-js</guid>
<pubDate>Wed, 16 Jul 2025 12:42:11 +0000</pubDate>
</item>
<item>
<title>How to extract a file name from a path, replace whitespaces, and make it lowercase using RegEx in Node.js</title>
<link>https://collectivesolver.com/88146/how-to-extract-a-file-name-from-a-path-replace-whitespaces-and-make-it-lowercase-using-regex-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88146/how-to-extract-a-file-name-from-a-path-replace-whitespaces-and-make-it-lowercase-using-regex-in-node-js</guid>
<pubDate>Tue, 15 Jul 2025 08:30:25 +0000</pubDate>
</item>
<item>
<title>How to convert multiple &lt;br/&gt; tags to a single &lt;br/&gt; tag using RegEx in Node.js</title>
<link>https://collectivesolver.com/88128/how-to-convert-multiple-br-tags-to-a-single-br-tag-using-regex-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88128/how-to-convert-multiple-br-tags-to-a-single-br-tag-using-regex-in-node-js</guid>
<pubDate>Tue, 15 Jul 2025 06:04:09 +0000</pubDate>
</item>
<item>
<title>How to assign multiple values to multiple variables in one line with Node.js</title>
<link>https://collectivesolver.com/88085/how-to-assign-multiple-values-to-multiple-variables-in-one-line-with-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88085/how-to-assign-multiple-values-to-multiple-variables-in-one-line-with-node-js</guid>
<pubDate>Mon, 14 Jul 2025 07:38:31 +0000</pubDate>
</item>
<item>
<title>How to filter an array in-place with Node.js</title>
<link>https://collectivesolver.com/88052/how-to-filter-an-array-in-place-with-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88052/how-to-filter-an-array-in-place-with-node-js</guid>
<pubDate>Sun, 13 Jul 2025 14:04:24 +0000</pubDate>
</item>
<item>
<title>How to print the distinct elements of an array in Node.js</title>
<link>https://collectivesolver.com/88022/how-to-print-the-distinct-elements-of-an-array-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/88022/how-to-print-the-distinct-elements-of-an-array-in-node-js</guid>
<pubDate>Sun, 13 Jul 2025 06:30:23 +0000</pubDate>
</item>
<item>
<title>How to XOR byte arrays in Node.js</title>
<link>https://collectivesolver.com/87995/how-to-xor-byte-arrays-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/87995/how-to-xor-byte-arrays-in-node-js</guid>
<pubDate>Sat, 12 Jul 2025 14:44:35 +0000</pubDate>
</item>
<item>
<title>How to check if a string includes $sometext$ without numbers in Node.js</title>
<link>https://collectivesolver.com/87917/how-to-check-if-a-string-includes-%24sometext%24-without-numbers-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/87917/how-to-check-if-a-string-includes-%24sometext%24-without-numbers-in-node-js</guid>
<pubDate>Fri, 11 Jul 2025 07:00:15 +0000</pubDate>
</item>
<item>
<title>How to remove the letters from word1 if they do not exist in word2 with Node.js</title>
<link>https://collectivesolver.com/87876/how-to-remove-the-letters-from-word1-if-they-do-not-exist-in-word2-with-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/87876/how-to-remove-the-letters-from-word1-if-they-do-not-exist-in-word2-with-node-js</guid>
<pubDate>Thu, 10 Jul 2025 06:52:42 +0000</pubDate>
</item>
<item>
<title>How to remove the letters from word1 if they exist in word2 with Node.js</title>
<link>https://collectivesolver.com/87821/how-to-remove-the-letters-from-word1-if-they-exist-in-word2-with-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/87821/how-to-remove-the-letters-from-word1-if-they-exist-in-word2-with-node-js</guid>
<pubDate>Wed, 09 Jul 2025 05:46:35 +0000</pubDate>
</item>
<item>
<title>How to check if an array of bytes is a valid UTF-8 string in Node.js</title>
<link>https://collectivesolver.com/87785/how-to-check-if-an-array-of-bytes-is-a-valid-utf-8-string-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/87785/how-to-check-if-an-array-of-bytes-is-a-valid-utf-8-string-in-node-js</guid>
<pubDate>Tue, 08 Jul 2025 10:21:06 +0000</pubDate>
</item>
<item>
<title>How to get intersection of two strings in Node.js</title>
<link>https://collectivesolver.com/87754/how-to-get-intersection-of-two-strings-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/87754/how-to-get-intersection-of-two-strings-in-node-js</guid>
<pubDate>Mon, 07 Jul 2025 05:11:24 +0000</pubDate>
</item>
<item>
<title>How to pad a string on both sides in Node.js</title>
<link>https://collectivesolver.com/87713/how-to-pad-a-string-on-both-sides-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/87713/how-to-pad-a-string-on-both-sides-in-node-js</guid>
<pubDate>Sun, 06 Jul 2025 07:29:58 +0000</pubDate>
</item>
<item>
<title>How to pad a string on the left in Node.js</title>
<link>https://collectivesolver.com/87641/how-to-pad-a-string-on-the-left-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/87641/how-to-pad-a-string-on-the-left-in-node-js</guid>
<pubDate>Fri, 04 Jul 2025 16:12:34 +0000</pubDate>
</item>
<item>
<title>How to pad a string on the right in Node.js</title>
<link>https://collectivesolver.com/87604/how-to-pad-a-string-on-the-right-in-node-js</link>
<description></description>
<guid isPermaLink="true">https://collectivesolver.com/87604/how-to-pad-a-string-on-the-right-in-node-js</guid>
<pubDate>Thu, 03 Jul 2025 18:53:53 +0000</pubDate>
</item>
</channel>
</rss>