Skip to content

Latest commit

 

History

History
58 lines (51 loc) · 1009 Bytes

README.md

File metadata and controls

58 lines (51 loc) · 1009 Bytes

mdctl-core-utils

Developer Tools Core Utils Module for Medable

This module will provide a set of general utils to use among modules.

Set of top utils @medable/mdctl-core-utils

  • searchParamsToObject,
  • tryCatch,
  • normalizeEndpoint,
  • validateEndpoint,
  • joinPaths,
  • sortKeys,
  • pathsTo,
  • validateApiKey,
  • validateApiSecret,
  • guessEndpoint

Utils for values @medable/mdctl-core-utils/values

  • isPrimitive,
  • isInt,
  • isNumeric,
  • isInteger,
  • isValidDate,
  • rFunction,
  • isSet,
  • rArray,
  • stringToBoolean,
  • rVal,
  • rNum,
  • rInt,
  • rString,
  • rBool,
  • rDate,
  • rPath,
  • rInstance,
  • pad,
  • clamp,
  • resolveCallbackArguments,
  • isCustomName,
  • isExportKey,
  • isUuidKeyFormat,
  • naturalCmp,
  • stringifyContent,
  • parseString,
  • removeFalsy,
  • pathTo,
  • pathParts

Utils for cryptography @medable/mdctl-core-utils/crypto

  • secureRandomInt,
  • randomAlphaNum,
  • randomAlphaNumSym,
  • randomChars

Utils for encapsulation @medable/mdctl-core-utils/privates

  • privatesAccessor