Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Requirements

supabase-error-translator-js requires Node.js 18 or newer when used in a Node.js environment. Browser apps can consume it through their normal bundler.

Package Manager

Install from npm:

npm install supabase-error-translator-js

With pnpm:

pnpm add supabase-error-translator-js

With yarn:

yarn add supabase-error-translator-js

Import

import { translateErrorCode } from 'supabase-error-translator-js';

The package ships JavaScript and TypeScript declaration files from dist/.