print out a variety of shapes from your console
// index.js
const { triangle, square, rhombus } = require('print-shape')
triangle(6)
square(6)
rhombus(6)
execute with
# node index.js
in terminal
/\
/ \
/ \
/ \
/ \
/----------\
|------|
| |
| |
| |
| |
|------|
/-\
/ \
/ \
\ /
\ /
\-/
no return just log the shape in terminal
no return just log the shape in terminal
no return just log the shape in terminal
MIT © Song Wang