An example of creating a package

npm install m_example
1 downloads in the last week
4 downloads in the last month

math_example package

The following functions are available in the math_example package.

  • addition adds two numbers and returns the result.

  • subtraction subtracts the second number from the first.

  • multiplication multiplies the first and second numbers and returns the result.

  • division divides the first number by the second number and returns the result.

  • fibonacci returns the nth fibonacci number

npm loves you