Skip to content

iingles/3780-npm-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DGM 3780 NPM Package assignment

Isaac Ingles

For this assignment, I simply copied several functions from earlier assignments:

  1. Compare

    Accepts 2 valid dates and returns the difference between them as a number of days

    usage: compare(date1, date2)

  2. Revstr

    Reverses a string

    usage: revstr(inString)

  3. Underscore

    Replaces all spaces in a string with underscores

    usage: underscore(inString)

  4. HexCode

    Returns random hex color code

    usage: const color = hexCode()

  5. Append

    Appends an item to an array

    usage: append(array, item)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published