# @types/meteor-persistent-session

> TypeScript definitions for meteor-persistent-session

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

## Install

```sh
npm install @types/meteor-persistent-session
pnpm add @types/meteor-persistent-session
yarn add @types/meteor-persistent-session
bun add @types/meteor-persistent-session
```

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

## Links

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

## Dependencies (2)

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

## Recent versions

- 0.0.35 (latest) — 2024-01-30
- 0.0.34 (ts4.5) — 2023-11-07
- 0.0.31 (ts4.1) — 2022-02-22
- 0.0.30 (ts3.7) — 2020-01-08
- 0.0.29 (ts2.8) — 2018-04-24
- 0.0.28 (ts2.0) — 2016-09-19
- 0.0.33 — 2023-10-18
- 0.0.32 — 2023-09-27
- 0.0.27 — 2016-07-14
- 0.0.26-alpha — 2016-07-08
- 0.0.25-alpha — 2016-07-04
- 0.0.24-alpha — 2016-07-02
- 0.0.23-alpha — 2016-07-01
- 0.0.22-alpha — 2016-07-01
- 0.0.21-alpha — 2016-05-25
- … 3 more at https://npm.io/package/@types/meteor-persistent-session/versions

## README

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

declare namespace Session {
    function setTemp(key: string, value: string | number | boolean | any /** Null **/ | any /** Undefined **/): boolean;
    function setPersistent(
        key: string,
        value: string | number | boolean | any /** Null **/ | any, /** Undefined **/
    ): boolean;
    function setAuth(key: string, value: string | number | boolean | any /** Null **/ | any /** Undefined **/): boolean;

    function setDefaultTemp(key: string, value: EJSONable | any /** Undefined **/): void;
    function setDefaultPersistent(key: string, value: EJSONable | any /** Undefined **/): void;
    function setDefaultAuth(key: string, value: EJSONable | any /** Undefined **/): void;

    function makeTemp(key: string): void;
    function makePersistent(key: string): void;
    function makeAuth(key: string): void;

    function clear(): void;
    function clear(key: string): void;
    function clearTemp(): void;
    function clearPersistent(): void;
    function clearAuth(): void;
}

````

### Additional Details
 * Last updated: Tue, 30 Jan 2024 21:35:45 GMT
 * Dependencies: [@types/meteor](https://npmjs.com/package/@types/meteor), [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Robbie Van Gorkom](https://github.com/vangorra).

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