maths_example

An example of creating a Node.js package

Usage no npm install needed!

<script type="module">
  import mathsExample from 'https://cdn.skypack.dev/maths_example';
</script>

README

maths_example package

The following functions are available in the maths_example package.

  • addition Adds two numbers and returns the result.
  • subtraction Subtracts the second number from the first number and returns the result.
  • multiplication Multiplies two numbers and returns the result.
  • division Divides the first number by the second number and returns the result.
  • fibonacci Applies the Fibonacci sequence count times and returns the result.