2.0.2 • Published 3 years ago

blitu v2.0.2

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

blitU

GitHub Workflow Status GitHub npm.io

"utilb".split("").reverse().join("")


A small package of utilities I find myself writing over and over.

  • Shuffle arrays
  • Pick one item from an array (with the ability to set a weight)
  • Random number from range
  • Random number of a set number of digits
  • Benchmark functions
  • Pad numbers and text
  • Format Date objects in MM/DD/YYYY format
  • Format raw number of seconds to a string of seconds, minutes, and hours with a leading "0" pad if needed
  • Numeric sort to order numbers to overcome the way the built in Array.sort() converts numbers to strings
2.0.2

3 years ago

0.2.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago