🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@alepha/bucket

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alepha/bucket

A universal interface for object and file storage providers.

Source
npmnpm
Version
0.9.3
Version published
Maintainers
1
Created
Source

Alepha Bucket

A universal interface for object and file storage providers.

Installation

This package is part of the Alepha framework and can be installed via the all-in-one package:

npm install alepha

Alternatively, you can install it individually:

npm install @alepha/core @alepha/bucket

Module

Triggered when a file is uploaded to a bucket. Can be used to perform actions after a file is uploaded, like creating a database record!

API Reference

Descriptors

$bucket()

Create a container for storing files.

import { $bucket } from "@alepha/bucket";

class App {
  images = $bucket();

  uploadImage(file: FileLike): Promise<string> {
    return this.images.upload(file);
  }
}

Keywords

alepha

FAQs

Package last updated on 10 Aug 2025

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