1.0.0 • Published 3 months ago

tri-num v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

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: 1. install it

```
    npm i tri-num
```
  1. import it
        import {getTri} from 'tri-num'
        getTri(<string or an integer>)
1.0.0

3 months ago