{"id":16293460,"url":"https://github.com/dominicfraser/nockexamples","last_synced_at":"2025-03-20T03:31:07.595Z","repository":{"id":105817058,"uuid":"140160274","full_name":"dominicfraser/NockExamples","owner":"dominicfraser","description":"HTTP request mocking with Nock ","archived":false,"fork":false,"pushed_at":"2019-02-03T13:05:03.000Z","size":72,"stargazers_count":14,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T22:55:01.659Z","etag":null,"topics":["testing","testing-tools"],"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/dominicfraser.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-08T11:04:46.000Z","updated_at":"2023-09-01T17:48:56.000Z","dependencies_parsed_at":"2023-06-14T04:32:44.909Z","dependency_job_id":null,"html_url":"https://github.com/dominicfraser/NockExamples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominicfraser%2FNockExamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominicfraser%2FNockExamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominicfraser%2FNockExamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominicfraser%2FNockExamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dominicfraser","download_url":"https://codeload.github.com/dominicfraser/NockExamples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047647,"owners_count":20389206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["testing","testing-tools"],"created_at":"2024-10-10T20:11:23.348Z","updated_at":"2025-03-20T03:31:07.590Z","avatar_url":"https://github.com/dominicfraser.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is an example repo to go along with this ['how to' article](https://codeburst.io/testing-mocking-http-requests-with-nock-480e3f164851).\n\nIt uses [Nock](https://github.com/nock/nock) alongside a [Random User API](https://randomuser.me/documentation).\n\n#### Linting:\n\nFor linting [eslint-config-skyscanner](https://github.com/Skyscanner/eslint-config-skyscanner ) has been used, along with [prettier](https://github.com/prettier/prettier). This is not included in each directory, if you wish to add it duplicate the [.eslintrc](.eslintrc) and [.prettierrc](.prettierrc) and run:\n\n```sh\n(\n    export PKG=eslint-config-skyscanner;\n    npm info \"$PKG@latest\" peerDependencies --json | command sed 's/[\\{\\},]//g ; s/: /@/g' | xargs npm install --save-dev\n    \"$PKG@latest\"\n)\n```\nto setup eslint, and then the following to integrate prettier:\n```sh\nnpm install -D eslint-config-prettier eslint-plugin-prettier prettier\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominicfraser%2Fnockexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdominicfraser%2Fnockexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominicfraser%2Fnockexamples/lists"}