🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@alpacacloud/js

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alpacacloud/js

The official JavaScript/TypeScript client for AlpacaCloud

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
6
50%
Maintainers
1
Weekly downloads
 
Created
Source

@alpacacloud/js

The official JavaScript/TypeScript client for AlpacaCloud — the open-source Supabase alternative built on Hetzner.

Install

npm install @alpacacloud/js
# or
yarn add @alpacacloud/js
# or
pnpm add @alpacacloud/js

Quick Start

import { createClient } from '@alpacacloud/js'

const alpaca = createClient(
  'https://your-project.alpaca-cloud.com',
  'your-anon-key'
)

// Query your database
const { data, error } = await alpaca.from('posts').select('*').eq('published', true)

// Auth
const { user } = await alpaca.auth.signUp({ email: 'user@example.com', password: 'password' })

// Storage
const { url } = await alpaca.storage.from('avatars').upload('photo.png', file)

// Realtime
alpaca.realtime.channel('room:1')
  .on('INSERT', (payload) => console.log(payload))
  .subscribe()

Documentation

Full docs at docs.alpaca-cloud.com

License

MIT

Keywords

alpacacloud

FAQs

Package last updated on 31 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts