{"id":20439564,"url":"https://github.com/softspiders/cross-fetch-starter","last_synced_at":"2026-04-10T12:05:31.967Z","repository":{"id":126029248,"uuid":"239495202","full_name":"softspiders/cross-fetch-starter","owner":"softspiders","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-21T11:13:33.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T07:35:16.451Z","etag":null,"topics":["browser","cross-fetch","fetch","isomorphic","min","node","react-native","softspiders","ss","starter","template"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softspiders.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-02-10T11:25:55.000Z","updated_at":"2020-02-28T23:19:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa4c9446-c068-4921-a6a0-ebbd106adf03","html_url":"https://github.com/softspiders/cross-fetch-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/softspiders/cross-fetch-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softspiders%2Fcross-fetch-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softspiders%2Fcross-fetch-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softspiders%2Fcross-fetch-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softspiders%2Fcross-fetch-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softspiders","download_url":"https://codeload.github.com/softspiders/cross-fetch-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softspiders%2Fcross-fetch-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31641493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"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":["browser","cross-fetch","fetch","isomorphic","min","node","react-native","softspiders","ss","starter","template"],"created_at":"2024-11-15T09:18:06.346Z","updated_at":"2026-04-10T12:05:31.927Z","avatar_url":"https://github.com/softspiders.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[SOFTSPIDERS](https://github.com/softspiders/softspiders)\n\n# cross-fetch-starter\n\n---\n\n## Feature tags\n\n- browser\n- cross-fetch\n- isomorphic\n- starter\n- template\n\n---\n\n## Authors\n\n- [AndreyChapkin](https://github.com/AndreyChapkin)\n\n---\n\n## Install\n\n```\nnpm i\n```\n\n---\n\n## Run in browser\n\nOpen *index.html* with your browser. In browser console execute:\n```\nif (isBrowser) fetch('https://jsonplaceholder.typicode.com/posts/1')\n                    .then(response =\u003e response.json())\n                    .then(json =\u003e console.log(JSON.stringify(json)))\n```\nSee the results in the console.\n\n## Running integration tests\n\nIn first command prompt run server: \n```\nnpm run start:server\n```\nIn second command prompt run tests:\n```\nnpm run test\n```\nIn console you should see:\n```\nPASS  ./scripts.test.js\n  √ Test isomorphic fetch function: http://localhost:3000/api (31ms)\n```\n\n---\n### License\n\nLicensed under the [MIT license](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftspiders%2Fcross-fetch-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftspiders%2Fcross-fetch-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftspiders%2Fcross-fetch-starter/lists"}