{"_id":"315a2","name":"315a2","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"315a2","version":"1.0.0","description":"315 assignment 2","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"@ormle/315a2"},"author":{"name":"Romel Mendoza"},"license":"ISC","_id":"315a2@1.0.0","gitHead":"0eb656b6910571c013f9c7045abade1af52b8be8","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-944qB0Wj0Qc6hb0cvfnKfFa5Sbn3nOnosdBzFwvW1qxv3W2WyiGgtT+L6ABmOjMxgu0poY4gRGfOrZbsvXglIw==","shasum":"97080b465210a2ca55b39c834f272ee1a2c61bb5","tarball":"https://registry.npmjs.org/315a2/-/315a2-1.0.0.tgz","fileCount":10,"unpackedSize":13846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFppozAZslfQ9haM5X3ywek4zLjIEwaNlaKUzGbc/JpMAiEA7+FsTTC9XvBw1HcIgnT8iEUKbl9Oxnzr7w4cz8jMZ+w="}]},"_npmUser":{"name":"ormle","email":"romel178@hotmail.com"},"directories":{},"maintainers":[{"name":"ormle","email":"romel178@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/315a2_1.0.0_1706153381641_0.9181016059857574"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-25T03:29:41.568Z","1.0.0":"2024-01-25T03:29:41.835Z","modified":"2024-01-25T03:29:42.058Z"},"maintainers":[{"name":"ormle","email":"romel178@hotmail.com"}],"description":"315 assignment 2","repository":{"type":"git","url":"@ormle/315a2"},"author":{"name":"Romel Mendoza"},"license":"ISC","readme":"# Assignment 2\nCreating functions in javascript\n## Purpose\n**_BEWARE:_ This library was published for learning purposes. It is _not_ in Describe the intended intent\n## Usage\n**Install it:**\n`npm install @ormle/315a2`\n**Require it:**\n`const _ = require('ormle/315a2');` **Call it:**\n## Documentation\nThe following functions are currently implemented:\n* `findNaNIndex(array)`: Finds all the indexes where NaN is found inany given array of numbers and NaN \n* `isArrayFactorChain(array)`: Returns true of false if an array is a factor chain or not\n* `countNumberOfArrays(array)`: Returns the count for the number of arrays inside a given array\n* `participants(matches)` : Returns an array of all the player names. No player is listed more than once\n* `winnersObject(matches)` : Returns an object which lists each participant, and a list of who they've beaten\n* `biggestLoser(matches)` : Returns the loser name with the biggest tally of loser_points. If a player is the winner, the loser_points are substracted, and if a player is a loser, then the loser_points are added.","readmeFilename":"README.md"}