1.1.4 • Published 6 years ago

withlength v1.1.4

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

withlength

It returns a string of specified length from a given array.

Installation

npm install withlength

Usage

import withLength from 'withLength'
withLength(['Hello','Hai'],5) 
//Output
            {
                maxlength:5,
                minlength:3,
                string:['Hello']
            }

Examples

withLength(['Hello','Hai']) //with out length argument
            {
                maxlength:5,
                minlength:3,
                maxs:['Hello'],
                mins:['Hai']
            }   
1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.0.0

6 years ago