# @types/react-native-keep-awake

> TypeScript definitions for react-native-keep-awake

Latest version **2.0.8** (published 2023-12-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-native-keep-awake
pnpm add @types/react-native-keep-awake
yarn add @types/react-native-keep-awake
bun add @types/react-native-keep-awake
```

## 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.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.8 |
| Published | 2023-12-21 |
| First published | 2017-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 2.0.8 (latest) — 2023-12-21
- 2.0.6 (ts4.5) — 2023-11-07
- 2.0.3 (ts3.6) — 2021-07-08
- 2.0.2 (ts2.8) — 2018-08-06
- 2.0.1 (ts2.6) — 2018-02-12
- 2.0.0 (ts2.3) — 2017-07-14
- 2.0.7 — 2023-12-06
- 2.0.5 — 2023-10-18
- 2.0.4 — 2023-09-27

## README

# Installation
> `npm install --save @types/react-native-keep-awake`

# Summary
This package contains type definitions for react-native-keep-awake (https://github.com/corbt/react-native-keep-awake).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-keep-awake.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-keep-awake/index.d.ts)
````ts
import * as React from "react";
declare class KeepAwake extends React.Component<{ children?: React.JSX.Element | undefined }> {
    static activate(): void;
    static deactivate(): void;
}
export default KeepAwake;

````

### Additional Details
 * Last updated: Thu, 21 Dec 2023 19:06:51 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [huhuanming](https://github.com/huhuanming).

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