OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
// Nothing reachable from here may import a `node:*` builtin or `./server`: this is a browser bundle's entrypoint too.
// Enforced by the `shared-root-stays-isomorphic` cruiser rule.
export {
DateTime,
getChartPrevStartEndDate,
getTime,
resolveDateRange,
} from './date';
export { generateId, generateSecureId, shortId } from './id';
export { getSafeJson, getSuperJson, setSuperJson } from './json';
export { average, ifNaN, max, min, round, sum } from './math';
export {
deepMergeObjects,
strip,
TO_DOTS_MAX_KEYS,
TO_DOTS_MAX_KEYS_PER_OBJECT,
toDots,
toObject,
} from './object';
export { slug } from './slug';
export {
stripLeadingAndTrailingSlashes,
stripTrailingSlash,
} from './string';
export { type TryCatchResult, tryCatch } from './try-catch';
export { isSameDomain, parsePath, parseSearchParams } from './url';