{"id":15364145,"url":"https://github.com/int64ago/g2-wrapper","last_synced_at":"2025-10-10T15:15:54.577Z","repository":{"id":57243641,"uuid":"105616272","full_name":"int64ago/g2-wrapper","owner":"int64ago","description":"A higher G2 wrapper for React.","archived":false,"fork":false,"pushed_at":"2018-01-25T05:03:12.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T18:49:06.411Z","etag":null,"topics":["g2","g2-react"],"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/int64ago.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}},"created_at":"2017-10-03T05:06:46.000Z","updated_at":"2017-10-09T02:36:00.000Z","dependencies_parsed_at":"2022-09-16T06:13:15.296Z","dependency_job_id":null,"html_url":"https://github.com/int64ago/g2-wrapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/int64ago/g2-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int64ago%2Fg2-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int64ago%2Fg2-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int64ago%2Fg2-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int64ago%2Fg2-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/int64ago","download_url":"https://codeload.github.com/int64ago/g2-wrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int64ago%2Fg2-wrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260976717,"owners_count":23091507,"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":["g2","g2-react"],"created_at":"2024-10-01T13:10:22.749Z","updated_at":"2025-10-10T15:15:49.551Z","avatar_url":"https://github.com/int64ago.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# g2-wrapper\n\n[![NPM version][npm-image]][npm-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/g2-wrapper.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/g2-wrapper\n[download-image]: https://img.shields.io/npm/dm/g2-wrapper.svg?style=flat-square\n[download-url]: https://npmjs.org/package/g2-wrapper\n\nA higher [G2](https://antv.alipay.com/g2/doc/index.html) wrapper for React.\n\n## Usage\n\n```jsx\nimport G2Wrapper from 'g2-wrapper';\nimport React, { Component } from 'react';\n\nclass MyComponent extends Component {\n  state = {\n    data: [],\n    width: 500,\n    height: 250,\n    plotCfg: {},\n    cfgFun: chart =\u003e {\n      chart.line().position('time*price').color('name').shape('spline').size(2);\n    }\n  }\n\n  render() {\n    return (\n      \u003cdiv\u003e\n        \u003cG2Wrapper { ...this.state } /\u003e\n      \u003c/div\u003e\n    );\n  }\n}\n\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fint64ago%2Fg2-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fint64ago%2Fg2-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fint64ago%2Fg2-wrapper/lists"}