tri-num
v1.0.0
Published
makes a triangle out of a string or integer
Downloads
6
Readme
tri-num is a package that prints a word or number in triangle format. for example:
9
33
222
9999
99999
222222
8888888
33333333
999999999
2222222222
given number 9329928392
how to use:
- install it
npm i tri-num
- import it
import {getTri} from 'tri-num' getTri(<string or an integer>)