{"id":20988304,"url":"https://github.com/nagarajanchinnasamy/subtotal","last_synced_at":"2025-12-12T03:10:53.912Z","repository":{"id":57023265,"uuid":"62483141","full_name":"nagarajanchinnasamy/subtotal","owner":"nagarajanchinnasamy","description":"A JavaScript plugin for PivotTable.js. It renders subtotals of rows and columns with the ability to expand and collapse rows and columns","archived":false,"fork":false,"pushed_at":"2018-10-25T21:59:27.000Z","size":1546,"stargazers_count":92,"open_issues_count":29,"forks_count":47,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-30T16:13:31.751Z","etag":null,"topics":["crosstab","pivot","pivot-chart","pivot-grid","pivot-tables","subtotal","subtotal-renderers"],"latest_commit_sha":null,"homepage":"http://nagarajanchinnasamy.com/subtotal","language":"CoffeeScript","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/nagarajanchinnasamy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-03T05:42:23.000Z","updated_at":"2024-08-26T14:13:12.000Z","dependencies_parsed_at":"2022-08-30T20:01:43.015Z","dependency_job_id":null,"html_url":"https://github.com/nagarajanchinnasamy/subtotal","commit_stats":null,"previous_names":["nagarajanchinnasamy/pivottable-subtotal-renderer"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagarajanchinnasamy%2Fsubtotal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagarajanchinnasamy%2Fsubtotal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagarajanchinnasamy%2Fsubtotal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagarajanchinnasamy%2Fsubtotal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nagarajanchinnasamy","download_url":"https://codeload.github.com/nagarajanchinnasamy/subtotal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517914,"owners_count":20951719,"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":["crosstab","pivot","pivot-chart","pivot-grid","pivot-tables","subtotal","subtotal-renderers"],"created_at":"2024-11-19T06:20:00.103Z","updated_at":"2025-12-12T03:10:48.842Z","avatar_url":"https://github.com/nagarajanchinnasamy.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](http://nagarajanchinnasamy.com/subtotal/images/subtotal_npm.svg)](https://www.npmjs.com/package/subtotal) [![tests](http://nagarajanchinnasamy.com/subtotal/images/subtotal_tests.svg)](http://nagarajanchinnasamy.com/subtotal/tests/) [![license](http://nagarajanchinnasamy.com/subtotal/images/subtotal_license.svg)](https://github.com/nagarajanchinnasamy/subtotal/blob/master/LICENSE)\n\n\n# Subtotal.js\n\n[Subtotal.js](http://nagarajanchinnasamy.com/subtotal) is a JavaScript plugin for [PivotTable.js](https://pivottable.js.org/examples/). It renders rows and columns of a pivot table with subtotals and lets the user expand or collapse rows and columns.\n\n\nSubtotal.js is available under an MIT license from [NPM](https://www.npmjs.com/package/subtotal) and [Bower](http://bower.io/) under the name `subtotal`. On [packagist.org](https://packagist.org/packages/nagarajanchinnasamy/subtotal), it is `nagarajanchinnasamy/subtotal`.\n\n\n![image](http://nagarajanchinnasamy.com/subtotal/images/subtotal-renderer-pivotui.png)\n\n## Where can I see the demo?\n\nYou can see the live demo at [examples page](http://nagarajanchinnasamy.com/subtotal/examples/index.html).\n\n## How can I get started?\n\nTo know how to load and use this library, please refer to [Getting Started Wiki Page](https://github.com/nagarajanchinnasamy/subtotal/wiki/Getting-Started)\n\n## API Documentation?\n\nPlease refer to [Wiki Pages](https://github.com/nagarajanchinnasamy/subtotal/wiki)\n\n## How can I build the code and run the tests?\n\nTo install the development dependencies, just run `npm install`, which will create a `node_modules` directory with the files required to run the [Gulp](http://gulpjs.com/) build system.\n\nAfter modifying any of the `.coffee` files at the top of the repo, you can compile/minify the files into the `dist` directory by running `npm run build`\n\nOnce that's done, you can point your browser to `tests/index.html` to run the [Jasmine](http://jasmine.github.io/) test suite. You can view the [current test results here](http://nagarajanchinnasamy.com/subtotal/tests).\n\nThe easiest way to modify the code and work with the examples is to leave a `node_modules/gulp/bin/gulp.js watch serve` command running, which will automatically compile the CoffeeScript files when they are modified and will also run a local web server you can connect to to run the tests and examples.\n\n## How can I contribute?\n\nPull requests are welcome! Here are some [Contribution Guidelines](https://github.com/nagarajanchinnasamy/subtotal/blob/master/CONTRIBUTING.md).\n\n## I have a question, how can I get in touch?\n\nPlease first check the [issues](https://github.com/nagarajanchinnasamy/subtotal/issues) that are already raised and if you can't find what you're looking for there, then please [create a GitHub Issue](https://github.com/nagarajanchinnasamy/subtotal/issues/new). When creating an issue, please try to provide a replicable test case so that others can more easily help you.\n\n## Copyright \u0026 Licence (MIT License)\n\nSubtotal.js is © 2016 Nagarajan Chinnasamy, Mindtree, other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagarajanchinnasamy%2Fsubtotal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnagarajanchinnasamy%2Fsubtotal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagarajanchinnasamy%2Fsubtotal/lists"}