{"id":19791781,"url":"https://github.com/solidstategroup/node-technical-test","last_synced_at":"2026-02-12T17:02:10.640Z","repository":{"id":81175210,"uuid":"80833993","full_name":"SolidStateGroup/node-technical-test","owner":"SolidStateGroup","description":"Node competency test","archived":false,"fork":false,"pushed_at":"2019-07-15T09:51:56.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-19T05:42:26.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/SolidStateGroup.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":"2017-02-03T14:01:05.000Z","updated_at":"2019-07-16T13:23:34.000Z","dependencies_parsed_at":"2023-03-08T06:45:44.468Z","dependency_job_id":null,"html_url":"https://github.com/SolidStateGroup/node-technical-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SolidStateGroup/node-technical-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fnode-technical-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fnode-technical-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fnode-technical-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fnode-technical-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolidStateGroup","download_url":"https://codeload.github.com/SolidStateGroup/node-technical-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidStateGroup%2Fnode-technical-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29373837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: 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-11-12T07:04:53.215Z","updated_at":"2026-02-12T17:02:10.610Z","avatar_url":"https://github.com/SolidStateGroup.png","language":null,"readme":" *Please email your answers back to kyle@solidstategroup.com, matthewe@solidstategroup.com and ben@solidstategroup.com.*\n\n**Question 1**\nComplete the example below so that it has the following:\n\n1. A private variable called 'privateVar' with the value 'I am private'\n2. A public variable called 'publicVar' with the value 'I am public'\n3. A private function called 'privateFnc' that when called outputs 'I am a private fnc'\n4. A public function called 'publicFnc' that when called outputs 'I am a public     fnc'\n\n```\nconsole.log(myObj.privateVar); // outputs undefined\nconsole.log(myObj.publicVar); // outputs I am public\nconsole.log(myObj.privateFnc); // outputs undefined\nconsole.log(myObj.publicFnc); // outputs fnc()\n```\n\n**Question 2** \nWrite a function that reads a json file* and writes an array with the min and max of each element  to output.json e.g. ```input.json [[1,2,6],[1,2,3]]``` -\u003e  ```output.json [{min:1,max:6}, {min:1,max:3}]``` \n\n*values.json\n\n```\n[\n  [1,2,6],\n  [1,2,3]\n]\n```\n\n**Question 3** \n\nWrite a function that spawns 2 child node processes that send back \"Hello world\" after x milliseconds, the delay should be defined by an argument (e.g. ```node child_process 100```). The function should return a promise that resolves with the results of all child processes.\n\n**Question 4**\n\nWhat is middleware in expressjs? Provide 3 examples including 1 code demonstration of where you could use this approach in an API.  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidstategroup%2Fnode-technical-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidstategroup%2Fnode-technical-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidstategroup%2Fnode-technical-test/lists"}