{"id":43919334,"url":"https://github.com/frux/graphin","last_synced_at":"2026-02-06T22:07:26.755Z","repository":{"id":57253250,"uuid":"64203603","full_name":"frux/graphin","owner":"frux","description":"💧Javascript isomorphic GraphQL client","archived":false,"fork":false,"pushed_at":"2017-01-27T14:03:03.000Z","size":42,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T12:49:20.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/frux.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}},"created_at":"2016-07-26T08:22:42.000Z","updated_at":"2024-02-19T14:52:51.000Z","dependencies_parsed_at":"2022-08-31T22:11:07.474Z","dependency_job_id":null,"html_url":"https://github.com/frux/graphin","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/frux/graphin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fgraphin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fgraphin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fgraphin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fgraphin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frux","download_url":"https://codeload.github.com/frux/graphin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fgraphin/sbom","scorecard":{"id":412503,"data":{"date":"2025-08-11","repo":{"name":"github.com/frux/graphin","commit":"6de99375fd4f64eb2bdafc587b4986e4aa6dcd43"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 2/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T23:04:52.299Z","repository_id":57253250,"created_at":"2025-08-18T23:04:52.299Z","updated_at":"2025-08-18T23:04:52.299Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29178620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T20:14:21.878Z","status":"ssl_error","status_checked_at":"2026-02-06T20:14:21.443Z","response_time":59,"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":"2026-02-06T22:07:22.783Z","updated_at":"2026-02-06T22:07:26.749Z","avatar_url":"https://github.com/frux.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graphin [![Build Status](https://travis-ci.org/frux/graphin.svg?branch=master)](https://travis-ci.org/frux/graphin) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n\u003e Isomorphic JavaScript GraphQL client\n\n```js\nimport Graphin from 'graphin';\n\nconst graphin = new Graphin('https://my.graphql.endpoint.com');\n\n// Simple GraphQL query\ngraphin.query(`{\n\tuserList {\n\t\tlogin\n\t\tname\n\t\temail\n\t}\n}`)\n\t.then(data =\u003e {\n\t\tconsole.log(data.userList);\n\t});\n\n\n// List of users cached for a minute\ngraphin.query(`{\n\tphotoList {\n\t\tid\n\t\turl\n\t\tdescription\n\t\twidth\n\t\theight\n\t}\n}`, {cache: 60000})\n\t.then(data =\u003e {\n\t\tconsole.log(data.photoList);\n\t});\n\n// Simple GraphQL mutation\ngraphin.query(`mutation {\n\tupdatePhoto(id: 100500, description: \"Photo of a real Unicorn!\") {\n\t\tid\n\t}\n}`);\n```\n\n## API\n\n### new Graphin(endpoint, options, fetcher) ⇒ ``Graphin``\n\n| Param | Type | Description |\n| --- | --- | --- |\n| endpoint | ``string`` | GraphQL endpoint URL |\n| options | ``object|undefined`` | Graphin general options. Affect all requests. Default {} |\n| options.cache | ``number`` | Cache TTL in ms |\n| options.fetch | ``object`` | Fetch options |\n| options.verbose | ``boolean`` | Verbose mode. Default false |\n| fetcher | ``function|undefined`` | Fetch function (url, options) =\u003e Promise. Default fetch |\n\n-----------------\n\n### graphin.query(url, options) ⇒ ``Promise``\nMakes GraphQL Query\n\n| Param | Type | Description |\n| --- | --- | --- |\n| url | ``string`` | GraphQL Query |\n| requestOptions | ``object|undefined`` | Request options. Affect only this request. Merge with general options. Default {} |\n| requestOptions.cache | ``number`` | Cache TTL in ms |\n| requestOptions.fetch | ``object`` | Fetch options |\n| requestOptions.verbose | ``boolean`` | Verbose mode. Default false |\n\n-----------------\n\n### graphin.getQueryURL(query) ⇒ ``string``\nConverts GraphQL query to URL\n\n| Param | Type | Description |\n| --- | --- | --- |\n| query | ``string`` | GraphQL Query |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrux%2Fgraphin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrux%2Fgraphin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrux%2Fgraphin/lists"}