rect

1.2.1 • Public • Published

rect

A library for rectangles.

Usage

Rect takes four arguments x, y, width, and height.

It also has two methods:

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

Readme

Keywords

Package Sidebar

Install

npm i rect

Weekly Downloads

159

Version

1.2.1

License

MIT

Last publish

Collaborators

  • aaronc