stack

Home > @infiniteobjects/core-library-web

core-library-web package

Shared functionality for Web apps

Classes

Class Description
AbortError An error to be thrown when the request is aborted by AbortController.
Address Address related utilities.
Arrays Utilities to interact with Arrays
Assert Utilities for asserting primitives, unique identifiers and strings
Async Utilities for parallel asynchronous operations, for use with the system Promise APIs.
BrowserSupport Utilities to check browser support for various features
Cast Utilities to cast values.
ChangeCase Utilities to change string cases (kebab, Pascal, ENV, etc).
Context Utilities to understand the context of the current script
Dates Utilities to interact with dates.
Debug Create Debug instances
Duration Utilities to generate durations.
Functions Utility Functions
Html Utilities to transform HTML strings
Humanize Utilities to transform units to human readable strings.
MediaDimensions Utilities to acquire the size of a media objects
Numbers Number related utilities.
Obj Utilities to deal with objects.
Parser Parsing Utilities
Random Utilities to generate random values
Sort Operations for sorting collections.
Strings String Utilities
Time Utilities to parse times.
Url URL related utilities.
UUID Utilities to generate unique identifiers
Xhr XHR utilities

Enumerations

Enumeration Description
SentrySeverity Replaces deprecated Sentry.Severity

Functions

Function Description
printBrand(appName, appVersion) Prints the IO brand to the console.

Interfaces

Interface Description
AsyncMapOptions Async.map Options
DebugInstance DebugInstance Type

Type Aliases

Type Alias Description
AsyncMapper Function which is called for every item in input. Expected to return a Promise or value.
IQueryParameters A list of Query Parameters
IsEmailOptions isEmail options
IsURLOptions IsUrl options
SentryErrorEmmitter SentryErrorEmmitter that should ultimately end up on Sentry. Must implement context in the Sentry.captureException() call