Catalog npm
Back to packageRELEASE DETAILS

1.0.0

npm

315-assignment2

CMPT 315 Assignment 2- JavaScript and NPM practice

Published24 Jan 2024
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation

Project Title

This project is for a submission for Assignment 2 for CMPT 315

Purpose

**BEWARE: This library was published for learning purposes.

Documentation

The following functions are currently implemented:

*biggestLoser(matches): Returns the loser name with the biggest tally of loser_points. If a player is the winner, the loser_points are subtracted

*countNumberOfArrays(data): Return the count for the number of arrays inside a given array

*findNaNIndex(data): Find all the indexes where NaN is found in a given array of numbers and NaN

*isArrayFactorChain(data): Return true or false if an array is a factor chain or not

*participants(matches): Returns an array of all the player names with no duplicates

*winnersObject(matches): Returns an object which lists each participant, and a list of who they've beaten

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "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"
    }
  ]
}

Repository

PENDING
cjmwong/315-assignment2

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:24 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:d09942350d4bdbfeba3d9ae454bfa315f4b217b001285100b6072515d4f3977b

Other collected versions

1.0.124 JanView all collected versions →