Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "rect", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "A library for rectangles.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# 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 |
3406
12