CF LAB

01-node-ecosystem

Author: Jacob Anderson

Links and Resources

Modules

arithemtic.js greet.js

Exports

arithmetic.add, arithmetic.subtract, arithmetic.divide, arithmetic.multiply greet.greeting

Examples

greet.greeting(name) -> string
arithmetic.add(a,b) -> number

Function Descriptions:

arithmetic.add

####### params: 2 numbers, output with numbers: number, output with non-numbers: null

arithmetic.subtract

####### params: 2 numbers, output with numbers: number, output with non-numbers: null

arithmetic.multiply

####### params: 2 numbers, output with numbers: number, output with non-numbers: null

arithmetic.divide

####### params: 2 numbers, output with non-zero numbers: number, output with zeros: null, output with non-numbers: null

greet.gretting

####### params: 1 string, output with string: string, output with non-string: null Usage Notes or examples

Running the app

  • npm start

Tests

  • How do you run tests?
  • npm run test
  • What assertions were made?
  • no asserts, only expects
  • What assertions need to be / should be made?

UML

Link to an image of the UML for your application and response to events