{"id":13532029,"url":"https://github.com/hellosean1025/node-echarts","last_synced_at":"2025-04-07T11:07:00.596Z","repository":{"id":54114825,"uuid":"75167425","full_name":"hellosean1025/node-echarts","owner":"hellosean1025","description":"Generate chart by echarts in nodejs.","archived":false,"fork":false,"pushed_at":"2020-09-16T04:01:28.000Z","size":10965,"stargazers_count":280,"open_issues_count":14,"forks_count":89,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-05-21T13:53:51.883Z","etag":null,"topics":["echarts","node-echarts"],"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/hellosean1025.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-11-30T08:34:38.000Z","updated_at":"2024-04-12T07:24:57.000Z","dependencies_parsed_at":"2022-08-13T07:00:19.204Z","dependency_job_id":null,"html_url":"https://github.com/hellosean1025/node-echarts","commit_stats":null,"previous_names":["suxiaoxin/node-echarts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellosean1025%2Fnode-echarts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellosean1025%2Fnode-echarts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellosean1025%2Fnode-echarts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellosean1025%2Fnode-echarts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellosean1025","download_url":"https://codeload.github.com/hellosean1025/node-echarts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217174,"owners_count":20903008,"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":["echarts","node-echarts"],"created_at":"2024-08-01T07:01:07.680Z","updated_at":"2025-04-07T11:07:00.578Z","avatar_url":"https://github.com/hellosean1025.png","language":"JavaScript","funding_links":[],"categories":["Languages"],"sub_categories":["Node.js"],"readme":"# node-echarts\nGenerate chart by [Apache ECharts (incubating)](https://github.com/apache/incubator-echarts) in Nodejs.\n### Install\nOS | Command\n----- | -----\nOS X | `brew install pkg-config cairo pango libpng jpeg giflib`\nUbuntu | `sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++`\nFedora | `sudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel`\nSolaris | `pkgin install cairo pango pkg-config xproto renderproto kbproto xextproto`\nWindows | [Instructions on our wiki](https://github.com/Automattic/node-canvas/wiki/Installation---Windows)\n\n```\nnpm install node-echarts\n```\n\n### Usage\n```javascript\nvar node_echarts = require('node-echarts');\nvar config = {\n    width: 500, // Image width, type is number.\n    height: 500, // Image height, type is number.\n    option: {}, // Echarts configuration, type is Object.\n    //If the path  is not set, return the Buffer of image.\n    path:  '', // Path is filepath of the image which will be created.\n    enableAutoDispose: true  //Enable auto-dispose echarts after the image is created.\n}\n\nnode_echarts(config)\n\n```\n\n### Config\n\n|name|type|default|description|\n|---|---|---|---|\n|width|Number|500|Image width|\n|height|Number|500|Image height|\n|option|Object|{}|Echarts Options|\n|path|String|-|Path is filepath of the image which will be created. If the path is empty, return buffer.|\n|enableAutoDispose|Boolean|true|Enable auto-dispose echarts after the image is created.|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellosean1025%2Fnode-echarts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellosean1025%2Fnode-echarts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellosean1025%2Fnode-echarts/lists"}