nectar-leg

2.0.0 • Public • Published

Nectar Leg

A fun little library for working with rectangles in JavaScript.

API

Nectar Leg takes four arguments: x, y, width, and height.

It also has two methods:

  • area: returns the area of the rectangle
  • perimeter: returns the perimeter of the rectangle

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i nectar-leg

    Weekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • stevekinney