# @types/angular-httpi

> TypeScript definitions for angular-httpi

Latest version **0.0.36** (published 2024-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/angular-httpi
pnpm add @types/angular-httpi
yarn add @types/angular-httpi
bun add @types/angular-httpi
```

## 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.0.36 |
| Published | 2024-01-30 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51481 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/angular](https://npm.io/package/@types/angular.md) *

## Recent versions

- 0.0.36 (latest) — 2024-01-30
- 0.0.35 (ts4.5) — 2023-11-06
- 0.0.32 (ts3.6) — 2021-07-07
- 0.0.31 (ts2.3) — 2017-06-15
- 0.0.30 (ts2.0) — 2016-09-19
- 0.0.34 — 2023-10-17
- 0.0.33 — 2023-09-22
- 0.0.29 — 2016-07-14
- 0.0.28-alpha — 2016-07-08
- 0.0.26-alpha — 2016-07-03
- 0.0.25-alpha — 2016-07-02
- 0.0.24-alpha — 2016-07-01
- 0.0.23-alpha — 2016-07-01
- 0.0.22-alpha — 2016-05-25
- 0.0.21-alpha — 2016-05-20
- … 2 more at https://npm.io/package/@types/angular-httpi/versions

## README

# Installation
> `npm install --save @types/angular-httpi`

# Summary
This package contains type definitions for angular-httpi (https://github.com/bennadel/httpi).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-httpi.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-httpi/index.d.ts)
````ts
/// <reference types="angular" />

declare namespace Httpi {
    export interface HttpiPayload extends ng.IRequestShortcutConfig {
        method?: string | undefined;
        url?: string | undefined;
        params?: {} | undefined;
        data?: {} | undefined;
        keepTrailingSlash?: boolean | undefined;
    }

    export interface HttpiFactory {
        (config: HttpiPayload): ng.IHttpPromise<{}>;

        resource(url: string): HttpiResource;
    }

    export class HttpiResource {
        constructor(http: ng.IHttpService, url: string);

        delete<T>(config: HttpiPayload): ng.IHttpPromise<T>;

        get<T>(config: HttpiPayload): ng.IHttpPromise<T>;

        head<T>(config: HttpiPayload): ng.IHttpPromise<T>;

        jsonp<T>(config: HttpiPayload): ng.IHttpPromise<T>;

        post<T>(config: HttpiPayload): ng.IHttpPromise<T>;

        put<T>(config: HttpiPayload): ng.IHttpPromise<T>;

        setKeepTrailingSlash(newKeepTrailingSlash: boolean): HttpiResource;
    }
}

````

### Additional Details
 * Last updated: Tue, 30 Jan 2024 21:35:45 GMT
 * Dependencies: [@types/angular](https://npmjs.com/package/@types/angular)

# Credits
These definitions were written by [Andrew Camilleri](https://github.com/Kukks).

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