inutile

0.5.0 • Public • Published

🦤 Inutile

Another useless Javascript utility functions collection

Yet to come!

... But, you probably don't need me:
You Don't Need Lodash/Underscore
You Don't Need Moment.js
Lodash
Date-fns
Just




📅 Date Helpers

  • isDate
  • isDateString
  • parseDate
  • formatDate
  • getMonthNameByNumber
  • addDays
  • addMonths
  • addYears
  • getFirstDateOfMonth
  • getLastDateOfMonth
  • dateRange

🆎 String Helpers

  • affirmativeToBoolean
  • capitalize

🕓 Time Helpers

  • isTime
  • isDuration
  • durationToDecimal
  • dateFromTime
  • differenceInMs
  • msToDuration

9️⃣ Number Helpers

  • padTwoDigits
  • isCurrency
  • currencyToNumber
  • numberToCurrency

🗃️ Array Helpers

  • range

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.01latest

Version History

VersionDownloads (Last 7 Days)Published
0.5.01
0.4.00
0.3.00
0.2.00
0.1.00

Package Sidebar

Install

npm i inutile

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

38.9 kB

Total Files

24

Last publish

Collaborators

  • pedbernardo