# @types/angularlocalstorage

> TypeScript definitions for angularlocalstorage

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

## Install

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

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

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.1.37 (latest) — 2024-01-30
- 0.1.36 (ts4.5) — 2023-11-06
- 0.1.33 (ts3.6) — 2021-07-07
- 0.1.32 (ts2.3) — 2017-08-21
- 0.1.30 (ts2.0) — 2016-09-19
- 0.1.35 — 2023-10-17
- 0.1.34 — 2023-09-22
- 0.1.31 — 2017-06-15
- 0.1.29 — 2016-07-14
- 0.1.28-alpha — 2016-07-11
- 0.1.27-alpha — 2016-07-08
- 0.1.25-alpha — 2016-07-03
- 0.1.24-alpha — 2016-07-02
- 0.1.23-alpha — 2016-07-01
- 0.1.22-alpha — 2016-07-01
- … 4 more at https://npm.io/package/@types/angularlocalstorage/versions

## README

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

import * as ng from "angular";

declare module "angular" {
    export namespace localStorage {
        interface ILocalStorageService {
            set(key: string, value: any): any;
            get(key: string): any;
            remove(key: string): boolean;
            clearAll(): void;

            bind($scope: ng.IScope, key: string, opts?: {
                defaultValue?: any;
                storeName?: string | undefined;
            }): any;
            unbind($scope: ng.IScope, key: string, storeName?: string): void;
        }
    }
}

````

### 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 [Horiuchi_H](https://github.com/horiuchi).

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