{"_id":"@alexx-peer/financial-calculator","name":"@alexx-peer/financial-calculator","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alexx-peer/financial-calculator","version":"1.0.0","description":"A simple command-line financial calculator that processes transaction amounts and computes key financial metrics.","main":"financialCalculator.js","bin":{"financial-calculator":"financialCalculator.js"},"scripts":{"test":"vitest tests/financialCalculator.test.js --globals --run --reporter verbose","lint":"eslint ."},"keywords":["financial calculator","cli","arithmetic","vitest","eslint","javascript"],"engines":{"node":">=12.0.0"},"author":{"name":"Alexx Peer"},"repository":{"type":"git","url":"git+https://github.com/Alexx-Peer/financial-calculator.git"},"license":"MIT","devDependencies":{"@eslint/js":"^9.19.0","eslint":"^9.19.0","globals":"^15.14.0","vitest":"^3.0.5"},"_id":"@alexx-peer/financial-calculator@1.0.0","gitHead":"79d28146f8702b0531c9d3051bfc8fc22e4b187c","bugs":{"url":"https://github.com/Alexx-Peer/financial-calculator/issues"},"homepage":"https://github.com/Alexx-Peer/financial-calculator#readme","_nodeVersion":"23.7.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-2RpHoPndpWsdNoLVuFRmwIqfQ1BUvcTDM2jHiWv0JTG5MiMHlvbH8HiPbfjpg4t1oKMO5GMfX9vW77DvREUlFQ==","shasum":"042b947e14ab02d7fa1ef259464a162e86de69e7","tarball":"https://registry.npmjs.org/@alexx-peer/financial-calculator/-/financial-calculator-1.0.0.tgz","fileCount":6,"unpackedSize":9915,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAqNaAMsvlx7OswUxnEeQKruMQ/U6NJVRlYP5U5NZELKAiEAtfV6EdoF6HAYQd1sEmcm3ezJTbuZp6H+K2sbrkZ/ur0="}]},"_npmUser":{"name":"alexx-peer","email":"alexxpeer@icloud.com"},"directories":{},"maintainers":[{"name":"alexx-peer","email":"alexxpeer@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/financial-calculator_1.0.0_1740818475479_0.4119636156999045"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-01T08:41:15.343Z","1.0.0":"2025-03-01T08:41:15.669Z","modified":"2025-03-01T08:41:16.093Z"},"maintainers":[{"name":"alexx-peer","email":"alexxpeer@icloud.com"}],"description":"A simple command-line financial calculator that processes transaction amounts and computes key financial metrics.","homepage":"https://github.com/Alexx-Peer/financial-calculator#readme","keywords":["financial calculator","cli","arithmetic","vitest","eslint","javascript"],"repository":{"type":"git","url":"git+https://github.com/Alexx-Peer/financial-calculator.git"},"author":{"name":"Alexx Peer"},"bugs":{"url":"https://github.com/Alexx-Peer/financial-calculator/issues"},"license":"MIT","readme":"# Financial Calculator CLI\n\n## Overview\n\nThis project provides a command-line financial calculator that processes a list of transaction amounts and outputs key financial metrics. The calculator computes the total number of transactions, total sum, average transaction value, total income (sum of positive transactions), total expenses (sum of negative transactions), and net balance.\n\n## Prerequisites\n\nThis project requires Node.js (version 12 or higher). Please ensure that Node.js is installed on your system.\n\n## Installation\n\nTo install the package as a development dependency, run:\n\nnpm install @alexx-peer/financial-calculator --save-dev\n\n## Usage\n\nTo run the financial calculator, use the following command with a list of transaction amounts (ignoring non-numbers):\n\nnode financialCalculator.js <transaction1> <transaction2> ...\n\nExample:\n\nnode financialCalculator.js 100 -50 job 200 taxes -75\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for additional details.\n","readmeFilename":"README.md"}