{"id":15368053,"url":"https://github.com/anonrig/harver-challenge","last_synced_at":"2026-04-17T17:32:03.590Z","repository":{"id":68448741,"uuid":"141561707","full_name":"anonrig/harver-challenge","owner":"anonrig","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-19T10:24:27.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T22:31:42.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anonrig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-19T10:10:36.000Z","updated_at":"2018-07-19T10:25:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"308f9647-7203-43d2-b384-4657748c3382","html_url":"https://github.com/anonrig/harver-challenge","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"7de46038b5b499dc2748b6d39e7d8a78ed540408"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anonrig/harver-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anonrig%2Fharver-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anonrig%2Fharver-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anonrig%2Fharver-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anonrig%2Fharver-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anonrig","download_url":"https://codeload.github.com/anonrig/harver-challenge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anonrig%2Fharver-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31938668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-01T13:28:04.549Z","updated_at":"2026-04-17T17:32:03.573Z","avatar_url":"https://github.com/anonrig.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Harver JS Assessment\n============================\n\n## Get started\n\nSet this repository up by running:\n\n```\ncd /path/to/harver-js-test\nnpm install\n```\n\nEdit your code in `src/index.js` and run `npm start` to run the code.\n\nThe tasks in this assessment use the included package `word-maker` which can be found in the directory\n`./word-maker`. This directory also contains a *README.md* with details about its usage and API. The module\nis already *required* for you in `src/index.js`\n\n## Tasks\n\nComplete these tasks in order. If you can't complete a task, just proceed with the next one.\n\n1. Print numbers from 1 to 100 to the console, but for each number also print a random word using the function `getRandomWordSync`. E.g.\n\n```\n1: four\n2: firm\n3: shape\n4: choice\n5: coach\n6: purple\n...\n100: buffalo\n```\n\n2. Modify your code to be a \"Fizz Buzz\" program. That is, print the numbers as in the previous step, but\nfor multiples of three, print \"Fizz\" (instead of the random word), for multiples of five, print \"Buzz\" and\nfor numbers which are both multiples of three and five, print \"FizzBuzz\".\n\n3. Create a version of steps *1* and *2* using the **asynchronous** function, `getRandomWord`. This function\nreturns a Promise, which resolves to a random word string. The numbers may or may not be in numerical order.\n\n4. Add error handling to both the synchronous and asynchronous solutions (calling `getRandomWord({ withErrors: true })` will intermitently throw an error instead of return a random word). When an error is caught, the programm should print \"Doh!\" instead of the random word, \"Fizz\", \"Buzz\" or \"FizzBuzz\"\n\n5. For **Node.JS developers**: Instead of printing the console. Write the information to a file in the root of this project. For **Frontend** developers, send your result to an HTTP endpoint (since there is no running endpoint, this\npart of your solution does not need to actually run)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanonrig%2Fharver-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanonrig%2Fharver-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanonrig%2Fharver-challenge/lists"}