{"_id":"@bodonkey/charting-extension","_rev":"1-47b1cde9def7f3cf572b56a4365ec14f","name":"@bodonkey/charting-extension","description":"An extension to add charting with chart.js to ApostropheCMS.","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@bodonkey/charting-extension","version":"1.0.0","keywords":["chart","apostrophecms","extension"],"author":{"url":"BoDonkey","name":"Robert Means"},"license":"MIT","_id":"@bodonkey/charting-extension@1.0.0","homepage":"https://github.com/bodonkey/charting-extension#readme","bugs":{"url":"https://github.com/bodonkey/charting-extension/issues"},"dist":{"shasum":"73b782e323a5fa57dc13777b8f3c6e6d856e8a10","tarball":"https://registry.npmjs.org/@bodonkey/charting-extension/-/charting-extension-1.0.0.tgz","fileCount":12,"integrity":"sha512-52PHJxFX8JsWRgjjeFJg394MkJVhMIOCc9xiYfVeQPHflUEIe3aVJf4Hz6Y4ZDdIzVDWHhosEHJ8N7IbEVFgvA==","signatures":[{"sig":"MEUCIQDqKIOyLOBO7g2gsQIzyVT1PtGrQhDWMACRvprzct0nLAIgHPOS90OgNO70e1KtFhpR/ApZezBnfmc1MRGs8JhpKWo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33944},"main":"index.js","gitHead":"14c9ded9806cc0a8e0d320476858e458f560a00c","scripts":{"lint":"npm run eslint","test":"npm run lint && mocha","eslint":"eslint --ext .js,.vue ."},"_npmUser":{"name":"bodonkey","email":"robert@robertmeans.net"},"repository":{"url":"git+https://github.com/bodonkey/charting-extension.git","type":"git"},"_npmVersion":"9.8.1","description":"An extension to add charting with chart.js to ApostropheCMS.","directories":{},"_nodeVersion":"18.18.0","dependencies":{"csv":"^6.3.9","chart.js":"^4.4.3","apostrophe":"^4.4.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/charting-extension_1.0.0_1719148420333_0.281641720771203","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@bodonkey/charting-extension","version":"1.1.0","description":"An extension to add charting with chart.js to ApostropheCMS.","main":"index.js","scripts":{"eslint":"eslint --ext .js,.vue .","lint":"npm run eslint","test":"npm run lint && mocha"},"repository":{"type":"git","url":"git+https://github.com/bodonkey/charting-extension.git"},"homepage":"https://github.com/bodonkey/charting-extension#readme","author":{"name":"Robert Means","url":"BoDonkey"},"keywords":["chart","apostrophecms","extension"],"license":"MIT","dependencies":{"apostrophe":"^4.0.0","chart.js":"^4.4.3","csv":"^6.3.9"},"_id":"@bodonkey/charting-extension@1.1.0","gitHead":"3c94b80662083ee3e8383d82eedaccb7836eab36","bugs":{"url":"https://github.com/bodonkey/charting-extension/issues"},"_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-TgNupw8zFUX1zRKD7iD35qc1ZGOfR4g5/3Z3ge8027L76ZwdjMf+M0R4rwGUknDQLLbuRDNqkxYI2M8w2y4l3g==","shasum":"04b138533112dd3f792629f7bad13f625c767f82","tarball":"https://registry.npmjs.org/@bodonkey/charting-extension/-/charting-extension-1.1.0.tgz","fileCount":12,"unpackedSize":33878,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAfjBpyE9MgMEVDXOBx9qyLE2ajylFiHaCuPsSq7uSz2AiEAwJMUj6rG51tRz2SCBDzEfT1pk5d1OHba0xT65P14w9c="}]},"_npmUser":{"name":"bodonkey","email":"robert@robertmeans.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/charting-extension_1.1.0_1719317244817_0.4273460620462455"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-23T13:13:40.247Z","modified":"2024-06-25T12:07:25.131Z","1.0.0":"2024-06-23T13:13:40.476Z","1.1.0":"2024-06-25T12:07:24.960Z"},"maintainers":[{"name":"bodonkey","email":"robert@robertmeans.net"}],"author":{"name":"Robert Means","url":"BoDonkey"},"repository":{"type":"git","url":"git+https://github.com/bodonkey/charting-extension.git"},"keywords":["chart","apostrophecms","extension"],"license":"MIT","homepage":"https://github.com/bodonkey/charting-extension#readme","bugs":{"url":"https://github.com/bodonkey/charting-extension/issues"},"readme":"<div align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/apostrophecms/apostrophe/main/logo.svg\" alt=\"ApostropheCMS logo\" width=\"80\" height=\"80\">\n\n  <h1>Charting Extension</h1>\n  <p>\n    <a aria-label=\"Apostrophe logo\" href=\"https://v3.docs.apostrophecms.org\">\n      <img src=\"https://img.shields.io/badge/MADE%20FOR%20ApostropheCMS-000000.svg?style=for-the-badge&logo=Apostrophe&labelColor=6516dd\">\n    </a>\n    <a aria-label=\"License\" href=\"https://github.com/apostrophecms/module-template/blob/main/LICENSE.md\">\n      <img alt=\"\" src=\"https://img.shields.io/static/v1?style=for-the-badge&labelColor=000000&label=License&message=MIT&color=3DA639\">\n    </a>\n  </p>\n</div>\n\nThis bundle of two extensions adds a new chart data piece-type to upload data sets for charting, as well as a chart widget to allow addition of a number of different chart types to your ApostropheCMS pages.\n\n## Installation\n\nTo install the module, use the command line to run this command in an Apostrophe project's root directory:\n\n```\nnpm install @bodonkey/charting-extension\n```\n\n## Usage\n\nAdd the bundle and individual extensions in the `app.js` file:\n\n```javascript\nrequire('apostrophe')({\n  shortName: 'my-project',\n  bundle: [ '@bodonkey/charting-extension' ],\n  modules: {\n    'chart-data': {},\n    'chart-widget': {}\n  }\n});\n```\n\nThe chart-data module will add a new piece-type for adding CSV data sets to your project. Data from these sets can then be used with the chart-widget that you can add to any area.\n\n","readmeFilename":"README.md"}