Skip to content

Installation

import { Tabs, TabItem } from ‘@astrojs/starlight/components’

Package managers

```bash npm install @massicloud/client ``` ```bash pnpm add @massicloud/client ``` ```bash yarn add @massicloud/client ``` ```bash bun add @massicloud/client ```

CDN (no bundler)

<script type="module">
import { createClient } from 'https://esm.sh/@massicloud/client'
const massi = createClient({ url: '...', key: '...', db: '...' })
</script>

Requirements

RuntimeMinimum versionNotes
Node.js18Uses built-in fetch
Bun1.0
Deno1.30Import from esm.sh
BrowserES2020All modern browsers supported
React Native0.73Needs react-native-url-polyfill

TypeScript

The package ships full TypeScript types with no extra @types/ package needed. Set "strict": true in your tsconfig.json for the best experience.

Create a client →