29 Commits

Author SHA1 Message Date
cf0004190a docs: add codecov badge (#1600) 2024-01-29 11:00:44 +05:30
05750bce43 chore: Add gitpod badge (#1466) 2023-10-10 12:30:31 +05:30
86d333ee94 feat: Test running overhaul, switch to Prettier & reformat everything (#1407)
* chore: Switch to Node 20 + Vitest

* chore: migrate to vitest mock functions

* chore: code style (switch to prettier)

* test: re-enable long-running test

Seems the switch to Node 20 and Vitest has vastly improved the code's and / or the test's runtime!

see #1193

* chore: code style

* chore: fix failing tests

* Updated Documentation in README.md

* Update contribution guidelines to state usage of Prettier

* fix: set prettier printWidth back to 80

* chore: apply updated code style automatically

* fix: set prettier line endings to lf again

* chore: apply updated code style automatically

---------

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2023-10-04 02:38:19 +05:30
394483bff7 added contributor graph to the readme (#1367)
Co-authored-by: madhuredra <madhuredra.tiwari@zemosolabs.com>
2023-09-23 21:37:30 +05:30
b36b45888e docs: fix CI and remove LGTM badges (#1269)
* Updated Documentation in README.md

* docs: fix CI and remove LGTM badges

LGTM is no longer a supported service and has been integrated with GitHub (which is now CodeQL).
We can create a CodeQL workflow and integrate it into the repository, however, that fits for another PR.

The shields badge API was updated, thus, causing an invalid badge: https://github.com/badges/shields/issues/8671

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2022-12-17 11:52:15 +05:30
f954fb1ff7 Update README.md (#1268) 2022-12-08 18:56:10 +05:30
8b5d006c9b chore: update Discord invite link (#1202) 2022-10-17 19:26:25 +02:00
03d0b1e0b8 merge: Update README.md (#1004) 2022-05-06 15:51:56 +05:30
edd7076e75 merge: A better README (#1003)
* feat: a better README

* chore: update repositories link

* chore: fix broken links

* chore: use gfm `<hr>` syntax

Replaced <hr> with ---, which is GitHub Flavoured Markdown syntax.

* chore: align everything to be centered

* feat: use same style for all badges

* chore: use shields.io badge instead of github

* chore: reorder badges and add comments

* chore: edit and format body

* chore: add redirect links to all images

* typo: JavasScript -> JavaScript
2022-05-06 13:46:34 +05:30
b13b12e88c chore: merge Fix/742 migrate doctest to jest (#749)
* Remove QuickSelect doctest

There are more Jest test cases already.

* Remove AverageMedian doctest

Already migrated to jest

* Migrate doctest for BinaryExponentiationRecursive.js

(also remove inline "main" test method)

* Migrate doctest for EulersTotient.js

(also remove inline "main" test method)

* Migrate doctest for PrimeFactors.js

(also remove inline "main" test method)

* Migrate doctest for BogoSort.js

Re-write prototype-polluting helper methods, too.

(also remove inline test driver code)

* Migrate doctest for BeadSort.js

(also remove inline test driver code)

* Migrate doctest for BucketSort.js

(also remove inline test driver code)

* Migrate doctest for CocktailShakerSort.js

(also remove inline test driver code)

* Migrate doctest for MergeSort.js

(also remove inline test driver code)

* Migrate doctest for QuickSort.js

(also remove inline test driver code)

* Migrate doctest for ReverseString.js

(also remove inline test driver code)

* Migrate doctest for ReverseString.js

* Migrate doctest for ValidateEmail.js

* Migrate doctest for ConwaysGameOfLife.js

(remove the animate code, too)

* Remove TernarySearch doctest

Already migrated to jest

* Migrate doctest for BubbleSort.js

(also remove inline test driver code)

* Remove doctest from CI and from dependencies

relates to #742
fixes #586

* Migrate doctest for RgbHsvConversion.js

* Add --fix option to "standard" npm script

* Migrate doctest for BreadthFirstSearch.js

(also remove inline test driver code)

* Migrate doctest for BreadthFirstShortestPath.js

(also remove inline test driver code)

* Migrate doctest for EulerMethod.js

(also remove inline test driver code)

Move manual test-code for plotting stuff in the browser in a distinct file, too. Those "*.manual-test.js" files are excluded from the UpdateDirectory.mjs script, as well.

* Migrate doctest for Mandelbrot.js

(also remove inline test driver code & moved manual drawing test into a *.manual-test.js)

* Migrate doctest for FloodFill.js

* Migrate doctest for KochSnowflake.js

(also move manual drawing test into a *.manual-test.js)

* Update npm lockfile

* Update README and COMMITTING with a few bits & bobs regarding testing & code quality
2021-10-07 12:33:38 +05:30
14034e29fe chore: add punctuation 2021-10-05 12:51:04 +05:30
Dev
7a70ed789c capitalize first letter 2021-10-04 11:26:14 +04:00
32359498ee chore: merge "added standard js badge in Readme.md (#692)"
* added standard js badge in Readme.md

* Update README.md

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-09-21 14:03:34 +05:30
e0e15131bb Add Discord badge in README.md 2021-06-07 18:10:56 -05:00
4ed05e2f66 chore(README.md): Update all shields.io badges
Updated all `shields.io` badges to `flat square` style
2021-05-30 16:46:03 +05:30
ec807b1337 Update README.md 2021-04-03 20:15:02 +05:30
b7ef904b5e Update package.json (#577)
* Update package.json

* Update README.md

* Update README.md
2021-04-03 13:49:54 +05:30
a146640591 added gitpod 2020-12-20 22:40:11 +05:30
47db0564d1 Update README.md 2020-05-07 21:47:41 +05:30
98a3f78537 Update README.md 2020-05-06 18:40:33 +05:30
2aebc951b1 Update README.md 2020-05-06 14:23:37 +02:00
0b7f149e2a Update README.md 2020-05-06 10:40:15 +05:30
14bab1b931 Update README.md 2020-05-03 20:26:24 +05:30
1c6f8b9375 Update README.md 2020-05-03 18:40:50 +05:30
46eca98c72 Added Jump Search to readme.md 2019-05-10 17:43:13 +09:00
f44fdc7dd0 added luhn's checksum algorithm 2018-10-21 18:57:20 -05:00
f574d4e692 Update README.md 2017-10-27 15:08:17 +05:30
b50f40363b Update README.md 2017-10-27 14:57:17 +05:30
386c646ac5 Initial commit 2017-07-13 11:42:34 +05:30