{"_id":"@barbuza/recharts","_rev":"2-50f7af0090cec4fc31285326b4648545","name":"@barbuza/recharts","description":"React charts","dist-tags":{"latest":"0.22.5"},"versions":{"0.22.4":{"name":"@barbuza/recharts","version":"0.22.4","description":"React charts","main":"lib/index","module":"es6/index","jsnext:main":"es6/index","files":["*.md","demo","es6","lib","umd","src"],"keywords":["react","reactjs","chart","react-component"],"scripts":{"build":"npm run build-cjs && npm run build-es6 && rimraf umd && npm run build-umd && npm run build-min","build-cjs":"rimraf lib && cross-env NODE_ENV=commonjs babel ./src -d lib","build-es6":"rimraf es6 && babel ./src -d es6","build-umd":"cross-env NODE_ENV=development webpack src/index.js umd/Recharts.js","build-min":"cross-env NODE_ENV=production webpack src/index.js umd/Recharts.min.js","demo":"webpack-dev-server --progress --port 3000 --content-base demo --inline --config demo/webpack.config.js","test":"cross-env NODE_ENV=test karma start test/karma.conf.js","lint":"eslint src","autofix":"eslint src --fix","bundle-analyse":"cross-env NODE_ENV=analyse webpack src/index.js umd/Recharts.js"},"pre-commit":["lint"],"repository":{"type":"git","url":"git+https://github.com/recharts/recharts.git"},"author":{"name":"recharts group"},"bugs":{"url":"https://github.com/recharts/recharts/issues"},"homepage":"https://github.com/recharts/recharts","peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-transition-group":"^1.1.2"},"dependencies":{"classnames":"2.2.5","core-js":"~2","d3-scale":"1.0.4","d3-shape":"1.0.4","lodash":"~4.17.4","prop-types":"~15.5.7","react-resize-detector":"0.4.1","react-smooth":"0.3.0","recharts-scale":"0.3.0","reduce-css-calc":"1.3.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.0.0","babel-loader":"^6.2.8","babel-plugin-istanbul":"3.0.0","babel-plugin-lodash":"^3.2.10","babel-plugin-transform-class-properties":"^6.19.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-export-extensions":"^6.8.0","babel-plugin-transform-function-bind":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.19.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","chai":"^3.5.0","chai-enzyme":"^0.5.2","cross-env":"^3.1.4","enzyme":"^2.6.0","escope":"^3.6.0","eslint":"^3.8.1","eslint-config-airbnb":"^12.0.0","eslint-plugin-import":"^1.16.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.4.1","estraverse-fb":"^1.3.1","json-loader":"^0.5.4","karma":"^1.3.0","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.0.0","karma-coverage":"^1.0.0","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.3.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.1","lodash-webpack-plugin":"^0.10.5","mocha":"^3.1.0","pre-commit":"^1.1.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1","react-hot-loader":"^1.3.0","react-router":"^3.0.1","react-transition-group":"^1.1.2","rimraf":"^2.5.3","sinon":"^1.17.0","webpack":"^2.2.0","webpack-bundle-analyzer":"^2.2.1","webpack-dev-server":"^2.2.0"},"license":"MIT","gitHead":"5e37fb2ab44aac36b33206af21eb678fcb2b0592","_id":"@barbuza/recharts@0.22.4","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"barbuza","email":"barbuzaster@gmail.com"},"dist":{"integrity":"sha512-5lRhL8IFPMwDkbvzfC+4NjNsAxPq8PJwDt5UQHIP5nRWFsDd3AeUeeEiDHOaHgtZ0xJt4j+d4zPD5zkM+IO4wQ==","shasum":"c1a62f8637c41f12da55f860cafb745d0f073a11","tarball":"https://registry.npmjs.org/@barbuza/recharts/-/recharts-0.22.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBFqe9jGio90XeOoSYfKHVFHExmKnChT/iDV3RR2jlQwAiBSeBsG1HBM8SaiUd44xlaVaWTMsix6dAO5kPEQSpj4PQ=="}]},"maintainers":[{"name":"barbuza","email":"barbuzaster@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/recharts-0.22.4.tgz_1506956335302_0.8748884710948914"}},"0.22.5":{"name":"@barbuza/recharts","version":"0.22.5","description":"React charts","main":"lib/index","module":"es6/index","jsnext:main":"es6/index","files":["*.md","demo","es6","lib","umd","src"],"keywords":["react","reactjs","chart","react-component"],"scripts":{"build":"npm run build-cjs && npm run build-es6 && rimraf umd && npm run build-umd && npm run build-min","build-cjs":"rimraf lib && cross-env NODE_ENV=commonjs babel ./src -d lib","build-es6":"rimraf es6 && babel ./src -d es6","build-umd":"cross-env NODE_ENV=development webpack src/index.js umd/Recharts.js","build-min":"cross-env NODE_ENV=production webpack src/index.js umd/Recharts.min.js","demo":"webpack-dev-server --progress --port 3000 --content-base demo --inline --config demo/webpack.config.js","test":"cross-env NODE_ENV=test karma start test/karma.conf.js","lint":"eslint src","autofix":"eslint src --fix","bundle-analyse":"cross-env NODE_ENV=analyse webpack src/index.js umd/Recharts.js"},"pre-commit":["lint"],"repository":{"type":"git","url":"git+https://github.com/recharts/recharts.git"},"author":{"name":"recharts group"},"bugs":{"url":"https://github.com/recharts/recharts/issues"},"homepage":"https://github.com/recharts/recharts","peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-transition-group":"^1.1.2"},"dependencies":{"classnames":"2.2.5","core-js":"~2","d3-scale":"1.0.4","d3-shape":"1.0.4","lodash":"~4.17.4","prop-types":"~15","react-resize-detector":"0.4.1","react-smooth":"0.3.0","recharts-scale":"0.3.0","reduce-css-calc":"1.3.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.0.0","babel-loader":"^6.2.8","babel-plugin-istanbul":"3.0.0","babel-plugin-lodash":"^3.2.10","babel-plugin-transform-class-properties":"^6.19.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-export-extensions":"^6.8.0","babel-plugin-transform-function-bind":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.19.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","chai":"^3.5.0","chai-enzyme":"^0.5.2","cross-env":"^3.1.4","enzyme":"^2.6.0","escope":"^3.6.0","eslint":"^3.8.1","eslint-config-airbnb":"^12.0.0","eslint-plugin-import":"^1.16.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.4.1","estraverse-fb":"^1.3.1","json-loader":"^0.5.4","karma":"^1.3.0","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.0.0","karma-coverage":"^1.0.0","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.3.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.1","lodash-webpack-plugin":"^0.10.5","mocha":"^3.1.0","pre-commit":"^1.1.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1","react-hot-loader":"^1.3.0","react-router":"^3.0.1","react-transition-group":"^1.1.2","rimraf":"^2.5.3","sinon":"^1.17.0","webpack":"^2.2.0","webpack-bundle-analyzer":"^2.2.1","webpack-dev-server":"^2.2.0"},"license":"MIT","gitHead":"d7fba66ca65ea7332338a6eb93be9a8c68ba6bda","_id":"@barbuza/recharts@0.22.5","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"barbuza","email":"barbuzaster@gmail.com"},"dist":{"integrity":"sha512-Bjeg596zx0Q1BKPCLGZ8PkA88o2igRSB8axi64xjAA46/edQAYKmNVOVn6siAEhCeHiIrp1ZscTnHfWUkM6bKw==","shasum":"fd7b3cf879834048cf8f4c61e2bf1d85c9836dc9","tarball":"https://registry.npmjs.org/@barbuza/recharts/-/recharts-0.22.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6xs2ZbIvUhxAxObOZSb/dz2y+hI1GXlxjvnWCNjXEbwIhAPkJgrLYytMwCONIUNMirE/T+NqGRqerBP1ny+IXLTU4"}]},"maintainers":[{"name":"barbuza","email":"barbuzaster@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/recharts-0.22.5.tgz_1506976077633_0.8779320935718715"}}},"readme":"# Recharts\n\n[![Rocket.Chat](https://demo.rocket.chat/images/join-chat.svg)](https://demo.rocket.chat/channel/recharts)\n[![Build Status](https://travis-ci.org/recharts/recharts.svg)](https://travis-ci.org/recharts/recharts)\n[![Coverage Status](https://coveralls.io/repos/recharts/recharts/badge.svg?branch=master&service=github)](https://coveralls.io/github/recharts/recharts?branch=master)\n[![npm version](https://badge.fury.io/js/recharts.svg)](http://badge.fury.io/js/recharts)\n[![npm downloads](https://img.shields.io/npm/dm/recharts.svg?style=flat-square)](https://www.npmjs.com/package/recharts)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/recharts/recharts/raw/master/LICENSE)\n\n## Introduction\n\nRecharts is a **Redefined** chart library built with [React](https://facebook.github.io/react/) and [D3](http://d3js.org).\n\nThe main purpose of this library is to help you to write charts in React applications without any pain. Main principles of Recharts are:\n\n1. **Simply** deploy with React components\n1. **Native** SVG support, lightweight depending only on some D3 submodules\n1. **Declarative** components, components of charts are purely presentational\n\n## Examples\n\n```jsx\n<LineChart\n  width={400}\n  height={400}\n  data={data}\n  margin={{ top: 5, right: 20, left: 10, bottom: 5 }}\n>\n  <XAxis dataKey=\"name\" />\n  <Tooltip />\n  <CartesianGrid stroke=\"#f5f5f5\" />\n  <Line type=\"monotone\" dataKey=\"uv\" stroke=\"#ff7300\" yAxisId={0} />\n  <Line type=\"monotone\" dataKey=\"pv\" stroke=\"#387908\" yAxisId={1} />\n</LineChart>\n```\n\nAll the components of Recharts are clearly separated. The lineChart is composed of x axis, tooltip, grid, and line items, and each of them is an independent React Component. The clear separation and composition of components is one of the principle Recharts follows.\n\n## Installation\n\n### npm\n\nNPM is the easiest and fastest way to get started using Recharts. It is also the recommended installation method when building single-page applications (SPAs). It pairs nicely with a CommonJS module bundler such as Webpack.\n\n\n```sh\n# latest stable\n$ npm install recharts\n```\n\n\n### umd\n\nThe UMD build is also available on unpkg.com:\n\n\n```html\n <script src=\"https://unpkg.com/recharts/umd/Recharts.min.js\"></script>\n```\n\nThen you can find the library on `window.Recharts`.\n\n### dev build\n\n```sh\n$ git clone https://github.com/recharts/recharts.git\n$ cd recharts\n$ npm install\n$ npm run build\n```\n\n## Demo\n\nTo examine the demos in your local build, execute\n\n\n```sh\n$ npm run[-script] demo\n```\n\nand then browse to http://localhost:3000\n\n## Module Formats\n\n- [babel-plugin-recharts](https://github.com/recharts/babel-plugin-recharts) A simple transform to cherry-pick Recharts modules so you don’t have to.\n\n## Contribution\n\nWe'd love :heart: to hear what you think we should build. Please create an issue to write your usage or ideas.\n\nWe are looking for like-minded people who share the same idea about Recharts. The goal of this project is create a more flexible charting library for the  React community.\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2015-2017 Recharts Group\n","maintainers":[{"name":"barbuza","email":"barbuzaster@gmail.com"}],"time":{"modified":"2022-04-04T17:43:14.005Z","created":"2017-10-02T14:58:57.148Z","0.22.4":"2017-10-02T14:58:57.148Z","0.22.5":"2017-10-02T20:27:59.310Z"},"homepage":"https://github.com/recharts/recharts","keywords":["react","reactjs","chart","react-component"],"repository":{"type":"git","url":"git+https://github.com/recharts/recharts.git"},"author":{"name":"recharts group"},"bugs":{"url":"https://github.com/recharts/recharts/issues"},"license":"MIT","readmeFilename":"README.md"}