Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

764 B
Raw Blame
// The Node-only entrypoint of @openpanel/shared: `@openpanel/shared/server`.
// Everything behind it may use `node:*`.
export {
  createHash,
  generateSalt,
  hashPassword,
  verifyPassword,
} from './crypto';
export {
  decrypt,
  decryptCredential,
  type EncryptionKey,
  encrypt,
  encryptCredential,
  isEncrypted,
} from './encryption';
export {
  getDevice,
  parseUserAgent,
  type UserAgentInfo,
  type UserAgentResult,
} from './parser-user-agent';
export {
  assertPublicHostname,
  assertPublicUrl,
  BlockedUrlError,
  createPinnedAgent,
  createPinnedLookup,
  isBlockedIp,
  type SafeFetchOptions,
  type SafeFetchResult,
  type SafeFetchStreamResult,
  safeFetch,
  safeFetchStream,
} from './safe-fetch';
export { assertSafeUrl } from './ssrf';