# @types/ngkookies

> TypeScript definitions for ngkookies

Latest version **0.2.33** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/ngkookies
pnpm add @types/ngkookies
yarn add @types/ngkookies
bun add @types/ngkookies
```

## Health

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

Positive: has types; no vulnerabilities; popular repo; extremely popular.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.2.33 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51419 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.2.33 (latest) — 2023-11-07
- 0.2.30 (ts3.6) — 2021-07-08
- 0.2.29 (ts3.0) — 2020-05-15
- 0.2.28 (ts2.0) — 2016-09-19
- 0.2.32 — 2023-10-18
- 0.2.31 — 2023-09-23
- 0.2.27 — 2016-07-14
- 0.2.26-alpha — 2016-07-08
- 0.2.25-alpha — 2016-07-04
- 0.2.24-alpha — 2016-07-02
- 0.2.23-alpha — 2016-07-01
- 0.2.22-alpha — 2016-07-01
- 0.2.21-alpha — 2016-05-25
- 0.2.20-alpha — 2016-05-20
- 0.2.15-alpha — 2016-05-19
- … 1 more at https://npm.io/package/@types/ngkookies/versions

## README

# Installation
> `npm install --save @types/ngkookies`

# Summary
This package contains type definitions for ngkookies (https://github.com/voronianski/ngKookies).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ngkookies.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ngkookies/index.d.ts)
````ts
declare namespace angular.kookies {
    type Options = {
        expires?: number | Date | undefined;
        path?: string | undefined;
        domain?: string | undefined;
        secure?: boolean | undefined;
    };

    interface IKookiesService {
        set(name: string, value: string, optopns?: Options): void;
        get(): any;
        get(name: string): any;
        get(name: string, converter: any): any;
        get<T>(name: string, converter: any): T;
        remove(name: string, options?: Options): boolean;
    }

    type Config = { raw?: boolean | undefined; json?: boolean | undefined };

    interface IKookiesProvider {
        config: Config;
        setConfig(config: Config): void;
        defaults: Options;
        setDefaults(options: Options): void;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Martin McWhorter](https://github.com/martinmcwhorter).

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