• v1.4.0 56bd3ea604

    20 new API endpoints
    Build and Deploy / build (push) Successful in 30s
    Build Release / build (push) Successful in 22s
    Build and Deploy / deploy (push) Successful in 26s
    Stable

    johannesbot released this 2026-06-17 06:24:52 +02:00 | 0 commits to master since this release

    20 new API endpoints:

    Math:

    • POST /api/power, GET /api/power/:a/:b — raises a to the power of b (a^b).
    • POST /api/abs, GET /api/abs/:n — returns the absolute value of a number.
    • POST /api/factorial, GET /api/factorial/:n — calculates n! (0–170).
    • POST /api/isPrime, GET /api/isPrime/:n — checks if a number is prime.

    String:

    • POST /api/repeat — repeats a string n times (max 1000). Body: { input: { string, times } }.
    • POST /api/trimString, GET /api/trimString/:string — trims leading and trailing whitespace.
    • POST /api/stringContains — checks if a string contains a substring. Body: { input: { string, search } }.
    • POST /api/randomCase, GET /api/randomCase/:string — randomly capitalizes letters (sPoNgEbOb CaSe).

    Array:

    • POST /api/sum — sums all elements of a numeric array.
    • POST /api/average — calculates the average of all elements in a numeric array.
    • POST /api/arrayMax — returns the largest element in a numeric array.
    • POST /api/arrayMin — returns the smallest element in a numeric array.
    • POST /api/arrayUnique — removes duplicate elements from an array.

    Misc:

    • GET /api/coinFlip — flips a coin, returns heads or tails.
    • GET /api/diceRoll — rolls a standard 6-sided dice.
    • GET /api/diceRoll/:sides — rolls a dice with a custom number of sides.
    • POST /api/fizzBuzz, GET /api/fizzBuzz/:n — returns Fizz, Buzz, FizzBuzz, or the number itself.

    Meme Sorts:

    • POST /api/intelligentDesignSort — the array was already sorted by a higher power. Returns it untouched.
    • POST /api/quantumSort — collapses the quantum superposition into the only sorted universe. Reports the number of parallel universes destroyed.
    • POST /api/pancakeSort — sorts by repeatedly flipping prefixes. Returns the full flip history.
    • POST /api/gnomeSort — a gnome compares adjacent elements and steps back on each swap. Returns move count.

    Changed

    • Added misc/ subdirectory for fun/random endpoints.
    • Updated OpenAPI spec with all new endpoints and a new Misc tag.
    Downloads
  • v1.3.0 19c477aa05

    12 new API endpoints
    Build and Deploy / build (push) Successful in 1m44s
    Build Release / build (push) Successful in 58s
    Build and Deploy / deploy (push) Successful in 26s
    Stable

    johannesbot released this 2026-06-16 20:52:15 +02:00 | 1 commits to master since this release

    Added

    12 new API endpoints:

    Meme Sorts:

    • POST /api/bogoSort — randomly shuffles the array until it is sorted (max 1000 attempts). Returns attempt count and success flag.
    • POST /api/thanoSort — randomly removes half the elements until the array is sorted. Perfectly balanced, as all things should be. Returns snap count.
    • POST /api/sleepSort — each element theoretically sleeps for n milliseconds then joins the output. We simulated the sleep. You're welcome. Returns total simulated sleep time.
    • POST /api/miracleSort — checks if the array is already sorted. If not, it waits for a cosmic miracle. Please try again later.

    Math:

    • POST /api/modulo, GET /api/modulo/:a/:b — calculates the remainder of a division (a % b).

    String:

    • POST /api/reverseString, GET /api/reverseString/:string — reverses a string.
    • POST /api/isPalindrome, GET /api/isPalindrome/:string — checks if a string is a palindrome.
    • POST /api/stringLength, GET /api/stringLength/:string — returns the length of a string.
    • POST /api/countWords, GET /api/countWords/:string — counts the number of words in a string.
    • POST /api/toUpperCase, GET /api/toUpperCase/:string — converts a string to uppercase.
    • POST /api/toLowerCase, GET /api/toLowerCase/:string — converts a string to lowercase.

    Array:

    • POST /api/reverseArray — reverses an array.

    Changed

    • Reorganized route files into category subdirectories (math/, string/, array/, checks/, sorts/) for better maintainability.
    • Replaced individual route imports in server.js with a single routes/api/index.js entry point.
    • Updated OpenAPI spec (openapi.json) with all new endpoints and added tags for categorized Swagger UI display.
    Downloads
  • v1.2.0 5be3d127bb

    More Math Routes
    Build and Deploy / build (push) Successful in 21s
    Build and Deploy / deploy (push) Successful in 25s
    Build Release / build (push) Successful in 19s
    Stable

    johannesbot released this 2026-04-02 14:04:38 +02:00 | 2 commits to master since this release

    • Added math routes: subtract, multiply, divide.
    Downloads
  • v1.1.0 aacb2f4287

    Added add route
    Build and Deploy / build (push) Successful in 19s
    Build and Deploy / deploy (push) Successful in 24s
    Build Release / build (push) Successful in 19s
    Stable

    johannesbot released this 2026-04-02 11:39:31 +02:00 | 3 commits to master since this release

    • Added add route.
    • Added Stalin Sort.
    • Added Swagger UI documentation.
    Downloads
  • v1.0.0 093bdd3625

    Init
    Build and Deploy / build (push) Successful in 20s
    Build and Deploy / deploy (push) Successful in 25s
    Build Release / build (push) Successful in 18s
    Stable

    johannesbot released this 2026-04-02 10:51:05 +02:00 | 5 commits to master since this release

    • Initial release with sort, isEven, isOdd, isNumber, toString, stringSplit.
    Downloads