{"_id":"@anithasandrine/sandrine-addition-elememts","name":"@anithasandrine/sandrine-addition-elememts","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@anithasandrine/sandrine-addition-elememts","version":"1.0.0","description":"My package","main":"sumofarray.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"sando"},"license":"ISC","dependencies":{"express":"^4.18.3"},"_id":"@anithasandrine/sandrine-addition-elememts@1.0.0","_nodeVersion":"20.11.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-MUA4PcX6lJGiCqUf7QTcc8dQUNwwhf84QoqTb0yJgdfyAhUDONSP3kcKYr4V/3rCTd12AWZye7NTV5/nNuwGBQ==","shasum":"a54d89aecede4d9f1274adb41b297dfc249c8ef5","tarball":"https://registry.npmjs.org/@anithasandrine/sandrine-addition-elememts/-/sandrine-addition-elememts-1.0.0.tgz","fileCount":4,"unpackedSize":1490,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGH+ftxx2175jYZWVO3F3/YIOYH5xD6etxByWGhP0n6xAiBDRX+u3hQjta2LnHDhwzm8LHhO3tYW+Gq5i1yw4EEvwg=="}]},"_npmUser":{"name":"anithasandrine","email":"manirihoanithasandrine@gmail.com"},"directories":{},"maintainers":[{"name":"anithasandrine","email":"manirihoanithasandrine@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sandrine-addition-elememts_1.0.0_1709842737556_0.3421826493158542"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-07T20:18:57.397Z","1.0.0":"2024-03-07T20:18:57.713Z","modified":"2024-03-07T20:18:58.212Z"},"maintainers":[{"name":"anithasandrine","email":"manirihoanithasandrine@gmail.com"}],"description":"My package","author":{"name":"sando"},"license":"ISC","readme":"# sum-array-elements\r\n\r\nA simple utility function to calculate the sum of elements in an array, including both numbers and strings representing numbers.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install sum-array-elements\r\n\r\n```\r\n\r\n## Usage\r\n### javascript code\r\n\r\n``` const sumElements = require('sum-array-elements');\r\n\r\nconst elements = [1, 2, \"3\", \"4\", 5];\r\nconsole.log(sumElements(elements)); \r\n\r\n```\r\n\r\n \r\n \r\n ### // Output: 15\r\n #### description\r\nsumElements(arr)\r\nCalculates the sum of elements in the provided array.\r\n\r\narr: An array of numbers or strings representing numbers.\r\nReturns the sum of all elements in the array.\r\n\r\n## Example\r\njavascript\r\n\r\n```const sumElements = require('sum-array-elements');\r\n\r\nconst elements = [1, 2, \"3\", \"4\", 5];\r\nconsole.log(sumElements(elements)); // Output: 15 \r\n\r\n```\r\n\r\n## License\r\nThis project is licensed under the MIT License - see the LICENSE file for details.\r\n","readmeFilename":"README.md"}