tri-num

1.0.0 • Public • Published

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
    
  2. import it
        import {getTri} from 'tri-num'
        getTri(<string or an integer>)
    

Readme

Keywords

Package Sidebar

Install

npm i tri-num

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

1.08 kB

Total Files

3

Last publish

Collaborators

  • jamcha123