Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 383 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 383 Bytes

@wonderbot/utils

What is it

Utils for WonderBot

Installation

npm i @wonderbot/utils

Method

weighted( ItemPercentage )

Prototype

String#emojiID( )

Array#random( )

Array#search( query )

Array#chunkArray( size )

Number#formatIt( )

(1000).formatIt() // 1,000

String#formatIt ( )

Same with Number#formatIt()