{"_id":"@asad0/cmpt315a2","name":"@asad0/cmpt315a2","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asad0/cmpt315a2","version":"1.0.0","description":"javascript library for manipulating arrays and objects, designed for learning and practicing javascipt fundamentals.","main":"index.js","scripts":{"test":"npm run test"},"keywords":["@asad0/cmpt315a2"],"author":{"name":"asad siddique"},"license":"ISC","_id":"@asad0/cmpt315a2@1.0.0","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-WNzVoy/f2hp/tjUw5kOG3qIa/PJBJevKQsPTTnTB/McY9ra+sDXWiBK1w3lO3llD6DDqH2HZImeGG0Fajn0RMQ==","shasum":"453868e223c488eb805725bd7d00b68083c8b844","tarball":"https://registry.npmjs.org/@asad0/cmpt315a2/-/cmpt315a2-1.0.0.tgz","fileCount":9,"unpackedSize":7234,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyeDrcEBbVEN3+i/6WE+IhyoxyY/QhCMxKlrtgwEb6JAIgPSkHuHBVELnjFycvnwXsU0vVv4MiQ490HCASgTbqJ3s="}]},"_npmUser":{"name":"asad0","email":"siddiquea2@mymacewan.ca"},"directories":{},"maintainers":[{"name":"asad0","email":"siddiquea2@mymacewan.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cmpt315a2_1.0.0_1706038057261_0.5208564268212514"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-23T19:27:37.163Z","1.0.0":"2024-01-23T19:27:37.403Z","modified":"2024-01-23T19:27:37.693Z"},"maintainers":[{"name":"asad0","email":"siddiquea2@mymacewan.ca"}],"description":"javascript library for manipulating arrays and objects, designed for learning and practicing javascipt fundamentals.","keywords":["@asad0/cmpt315a2"],"author":{"name":"asad siddique"},"license":"ISC","readme":"# cmpt315a2\r\nA JavaScript library for manipulating arrays and objects, designed for learning and practicing JavaScript fundamentals.\r\n\r\n## Purpose\r\n**_BEWARE:_ This library was published for learning purposes. This project aims to help understand and implement basic array and object manipulation methods.\r\n\r\n## Usage\r\n\r\n**Install it:**\r\n`npm install @asad0/cmpt315a2`\r\n\r\n**Require it:**\r\n`const _ = require('@asad0/cmpt315a2');`\r\n\r\n**Call it:**\r\nFor example, to use findNaNIndex() function:\r\nconst results = _.findNaNIndex([2, NaN, 8]);\r\n\r\n## Documentation\r\nThe following functions are currently implemented:\r\n\r\n* findNaNIndex(array): Finds all indexes where NaN is present in a given array.\r\n* isArrayFactorChain(array): Checks if a given array is a factor chain, returning true or false.\r\n* countNumberOfArrays(array): Counts the number of arrays within a given array.\r\n* participants(matches): Returns an array of all unique participant names from a list of            match records.\r\n* winnersObject(matches): Creates an object listing each participant and the opponents they've beaten.\r\n* biggestLoser(matches): Identifies the player with the highest tally of loser points, considering the wins and losses.\r\n\r\nEach function has its own file <function-name>.js and is documented for easy understanding and use.","readmeFilename":"README.md"}