trance-leg

v2.0.0
A very important library for working with rectangles.

Trance Leg

A very important library for working with rectangles.

API

Trance 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
npm i trance-leg

Metadata

  • ISC
  • Whatever
  • Steve Kinney
  • released 7/26/2016

Downloads

Maintainers