{"_id":"315-assignment2","_rev":"1-983912bf2c2c8593b6f0df78b2ea9516","name":"315-assignment2","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"315-assignment2","version":"1.0.0","description":"CMPT 315 Assignment 2- JavaScript and NPM practice","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cjmwong/315-assignment2.git"},"author":{"name":"Calvin Wong"},"license":"ISC","bugs":{"url":"https://github.com/cjmwong/315-assignment2/issues"},"homepage":"https://github.com/cjmwong/315-assignment2#readme","gitHead":"09611ce1abf968de214f974e4a374cbeb75f4d6c","_id":"315-assignment2@1.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-CukmWUO+Oasil9QGgdWeNhtyQ4f9f0PHrkMI4J3HSoZ5v/aUSXJ9BJ6AX5IYS9kr5lI4NyWwIAfrx+Yy6S8/IA==","shasum":"d09c899c23c3a4d7acf59502c41b2f3e700c06a5","tarball":"https://registry.npmjs.org/315-assignment2/-/315-assignment2-1.0.0.tgz","fileCount":8,"unpackedSize":5422,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi/ywAY3skOigw5mEnzD2nKlIKWVpVVaQkVlmtjGtBMwIhAJSLydAXwdDa16kCWrrPCJltc+h+bcR3NmQsuw/Dmcdh"}]},"_npmUser":{"name":"cjmwong","email":"cjwong@ualberta.ca"},"directories":{},"maintainers":[{"name":"cjmwong","email":"cjwong@ualberta.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/315-assignment2_1.0.0_1706130604614_0.5448790184326278"},"_hasShrinkwrap":false},"1.0.1":{"name":"315-assignment2","version":"1.0.1","description":"CMPT 315 Assignment 2- JavaScript and NPM practice","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cjmwong/315-assignment2.git"},"author":{"name":"Calvin Wong"},"license":"ISC","bugs":{"url":"https://github.com/cjmwong/315-assignment2/issues"},"homepage":"https://github.com/cjmwong/315-assignment2#readme","gitHead":"b6456e622850ebe213f4168c1390648d618eed69","_id":"315-assignment2@1.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-GOwMPY705Q0kYU9tDArLbKBl8Joxi3DNU3vOUlYoUc3HSAfsarKVjSgZ7NfY2MJlVO89trbcp8wDDkbfjMhAwA==","shasum":"ec3f13c251bdc1062d772ec0461e0a50cf0cd309","tarball":"https://registry.npmjs.org/315-assignment2/-/315-assignment2-1.0.1.tgz","fileCount":9,"unpackedSize":6290,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDoY5lXXFs5znbDXA+cDYiECYWQPpHQHcK2a+ek9QIaJAiAv+X4RK1NsFGoDlSsXA4lMNq5tMz6CcqW8P/hw0yQ5XQ=="}]},"_npmUser":{"name":"cjmwong","email":"cjwong@ualberta.ca"},"directories":{},"maintainers":[{"name":"cjmwong","email":"cjwong@ualberta.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/315-assignment2_1.0.1_1706131040994_0.32822872681040827"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-24T21:10:04.614Z","1.0.0":"2024-01-24T21:10:04.827Z","modified":"2024-01-24T21:17:21.365Z","1.0.1":"2024-01-24T21:17:21.214Z"},"maintainers":[{"name":"cjmwong","email":"cjwong@ualberta.ca"}],"description":"CMPT 315 Assignment 2- JavaScript and NPM practice","homepage":"https://github.com/cjmwong/315-assignment2#readme","repository":{"type":"git","url":"git+https://github.com/cjmwong/315-assignment2.git"},"author":{"name":"Calvin Wong"},"bugs":{"url":"https://github.com/cjmwong/315-assignment2/issues"},"license":"ISC","readme":"# Project Title\r\nThis project is for a submission for Assignment 2 for CMPT 315\r\n## Purpose\r\n**_BEWARE:_ This library was published for learning purposes.\r\n\r\n## Documentation\r\nThe following functions are currently implemented:\r\n\r\n*`biggestLoser(matches)`:  Returns the loser name with the biggest tally of loser_points. If a player is the winner, the loser_points are subtracted\r\n\r\n*`countNumberOfArrays(data)`: Return the count for the number of arrays inside a given array\r\n\r\n*`findNaNIndex(data)`: Find all the indexes where NaN is found in a given array of numbers and NaN\r\n\r\n*`isArrayFactorChain(data)`: Return true or false if an array is a factor chain or not\r\n\r\n*`participants(matches)`: Returns an array of all the player names with no duplicates\r\n\r\n*`winnersObject(matches)`: Returns an object which lists each participant, and a list of who they've beaten\r\n","readmeFilename":"README.md"}