Skip to content

merrymake/typescript-utils

Repository files navigation

Typescript Utilities

Just a few convenient functions that we use often. Such as:

  • Array utilities (sync and async)
  • Object utilities (sync and async)
  • String utilities
    • Printing number with unit
    • Console spinners and timers
    • Printing with word wrapping and colors
    • Ascii table printing
    • Random string generation
    • Grammar utilities (list, plural, order)
    • Various (semanticVersion, toFolderName, partition)
  • Function utilities
    • Varargs at the start of parameter list (varArgsFirst, varArgsBeforeOptional)
    • Complex const initializer (constify)
    • Compile-time checked exceptions (Raises, Catch)
  • Other
    • Improved async functions (Promise_all and sleep)
    • Runtime type inspection (is)
    • Better tuple typing (valueType)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published