Catalog npm
PACKAGE EXPLORERView in registry

315a2

npm

315 assignment 2

Versions collected1
Direct dependencies0From release 1.0.0
Last observed20 Oct, 19:24 UTC

README

Current package documentation

Assignment 2

Creating functions in javascript

Purpose

**BEWARE: This library was published for learning purposes. It is not in Describe the intended intent

Usage

Install it: npm install @ormle/315a2 Require it: const _ = require('ormle/315a2'); Call it:

Documentation

The following functions are currently implemented:

  • findNaNIndex(array): Finds all the indexes where NaN is found inany given array of numbers and NaN
  • isArrayFactorChain(array): Returns true of false if an array is a factor chain or not
  • countNumberOfArrays(array): Returns the count for the number of arrays inside a given array
  • participants(matches) : Returns an array of all the player names. No player is listed more than once
  • winnersObject(matches) : Returns an object which lists each participant, and a list of who they've beaten
  • 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.

Downloads & popularity

Awaiting observations

No metric observations yet

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

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.0Registry latest25 Jan 20240

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:eb7e908db7eb322c635ae9d390b8bc7ecdb68a14144040ea087899dfea9445e2