# @types/laravel-vapor

> TypeScript definitions for laravel-vapor

Latest version **0.6.5** (published 2024-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/laravel-vapor
pnpm add @types/laravel-vapor
yarn add @types/laravel-vapor
bun add @types/laravel-vapor
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.6.5 |
| Published | 2024-06-17 |
| First published | 2021-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51443 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/laravel-vapor
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/laravel-vapor
- npm.io page: https://npm.io/package/@types/laravel-vapor

## Recent versions

- 0.6.5 (latest) — 2024-06-17
- 0.6.4 (ts4.5) — 2023-11-22
- 0.6.1 (ts4.2) — 2023-01-03
- 0.6.0 (ts4.1) — 2022-10-05
- 0.4.2 (ts3.8) — 2022-01-27
- 0.4.1 (ts3.6) — 2021-07-08
- 0.4.0 (ts3.4) — 2021-01-25
- 0.6.3 — 2023-11-07
- 0.6.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/laravel-vapor`

# Summary
This package contains type definitions for laravel-vapor (https://github.com/laravel/vapor-js).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/laravel-vapor.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/laravel-vapor/index.d.ts)
````ts
//

interface VaporStoreOptions {
    signedStorageUrl?: string | undefined;
    bucket?: string | undefined;
    cancelToken?: string | undefined;
    contentType?: string | undefined;
    data?: any;
    expires?: string | undefined;
    visibility?: string | undefined;
    baseURL?: string | undefined;
    headers?: any;
    options?: any;
    // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
    progress?: (value: number) => void | undefined;
}

declare class Vapor {
    store(file: File, options?: VaporStoreOptions): Promise<any>;
    withBaseAssetUrl(url?: string): void;
    asset(path: string): string;
}

declare const VaporInstance: Vapor;
export = VaporInstance;

````

### Additional Details
 * Last updated: Mon, 17 Jun 2024 20:07:03 GMT
 * Dependencies: none

# Credits
These definitions were written by [saibotk](https://github.com/saibotk).

---
_Source: https://npm.io/package/@types/laravel-vapor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
