@falieson/js-util
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@falieson/js-util

A set of js utilities that @falieson uses in most of his projects.

Install

$ npm i -S @falieson/js-unit
$ yarn @falieson/js-unit

SUMMARY

category functions
array 3
console 2
date 5
math 15
string 9
TOTAL 34

Functions and Coverage

category topic functions functionCount test
array sort sortBykey, sortObjectArray 2 0%
array times times 1 0%
console leveledConsole console 1 0%
console pout pout 1 0%
date current currMinute, currMinuteInUnix, currSecondInUnix 3 0%
date date dateDaysAgo, dateOffsetBy 2 0%
math array averageArr, sumArr, sumObjectArr 3 0%
math Counter Counter 1 100%
math isPowerOf2 isPowerOf2 1 0%
math percent percent 1 0%
math random randomBoolean, randomInt, randomFloat 3 0%
math temperature celciusFromFarenheit, farenheightFromCelcius, kelvinFromCelcius, celciusFromKelvin, kelvinFromFarenheit, farenheitFromKelvin 6 0%
string nicebytes niceBytes 1 0%
string percentComplete percentComplete 1 0%
string string dashToSpaceUppercase, pluralize, suuid, underscoreToSpaceUppercase, unixString, uppercaseFirstLetter, uuid 7 0%
34 1.5%

TODOs

  • [ ] split up all the functions into their own npm modules like @falieson/js-util.times
  • [ ] 100% test coverage

Package Sidebar

Install

npm i @falieson/js-util

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

37.6 kB

Total Files

85

Last publish

Collaborators

  • florian.mettetal