Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

trance-leg

2.0.0 • Public • Published

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

Keywords

none

Install

npm i trance-leg

DownloadsWeekly Downloads

2

Version

2.0.0

License

ISC

Last publish

Collaborators

  • avatar
  • avatar