UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

25 lines (24 loc) 972 B
// Utils needed by: // - runtime of server // - runtime of client (Client Routing) // Ensure we don't bloat runtime of Server Routing with the utils down below import { assertClientRouting } from '../../utils/assertRoutingType.js'; import { isBrowser } from '../../utils/isBrowser.js'; if (isBrowser()) { assertClientRouting(); } export * from '../../utils/assert.js'; export * from '../../utils/hasProp.js'; export * from '../../utils/isObjectWithKeys.js'; export * from '../../utils/sorter.js'; export * from '../../utils/isPromise.js'; export * from '../../utils/isPlainObject.js'; export * from '../../utils/objectAssign.js'; export * from '../../utils/slice.js'; export * from '../../utils/unique.js'; export * from '../../utils/isBrowser.js'; export * from '../../utils/parseUrl.js'; export * from '../../utils/checkType.js'; export * from '../../utils/joinEnglish.js'; export * from '../../utils/truncateString.js'; export * from '../../utils/isCallable.js';