expo-keep-awake
npmv57.0.1TypeScriptProvides a React component that prevents the screen sleeping when rendered. It also exposes static methods to control the behavior imperatively.
Safe to adopt
Yes — expo-keep-awake scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 56 days ago. 50 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 56 days ago. 50 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 59 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 11 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding expo-keep-awake to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
expo-keep-awake vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| expo-keep-awakethis page | 0 | 1 | MIT | 1 month ago |
| @expo/config | 12.6M | 5 | MIT | 3 days ago |
| expo-file-system | 9.2M | 1 | MIT | 3 days ago |
| expo-glass-effect | 3.9M | 1 | MIT | 3 days ago |
| @expo/dom-webview | 0 | 2 | MIT | 3 days ago |
| expo-constants | 0 | 6 | MIT | 3 days ago |
Dependencies
Declared by expo-keep-awake v57.0.1. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (4)
Used by
Popular packages that depend on expo-keep-awake.
Relationship graph
Dependencies (left) and dependents (right) of expo-keep-awake.
Frequently installed together
A WebView specifically designed for Expo DOM components
React is a JavaScript library for building user interfaces.
React package for working with the DOM.
A framework for building native apps using React
Tools for making advanced Metro bundler features work
A structuredClone polyfill
A library for interacting with the app.json
Provides access to the local file system on the device.
Derivative of whatwg-url without unicode handling and optimized for Expo
A Metro config for running React Native projects with the Metro bundler
The core of Expo Modules architecture
TypeScript definitions for react
Release history
50 releases in the last two years, typically about 2 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 58.0.0-canary-20260902-26df09e | 7 days ago | 68 KB | MIT |
| 58.0.0-canary-20260901-2164f24 | 8 days ago | 68 KB | MIT |
| 58.0.0-canary-20260812-27f94d4 | 28 days ago | 68 KB | MIT |
| 58.0.0-canary-20260806-8c2d007 | 1 month ago | 68 KB | MIT |
| 57.0.0-canary-20260723-64edab9 | 1 month ago | 68 KB | MIT |
| 57.0.0-canary-20260720-b6d63bc | 1 month ago | 68 KB | MIT |
| 57.0.0-canary-20260718-7cbcda5 | 1 month ago | 68 KB | MIT |
| 57.0.0-canary-20260716-381e806 | 1 month ago | 68 KB | MIT |
| 57.0.1latest | 1 month ago | 59 KB | MIT |
| 56.0.4-canary-20260701-9100865 | 2 months ago | 68 KB | MIT |
| 57.0.0-canary-20260629-3010085 | 2 months ago | 68 KB | MIT |
| 56.0.4-canary-20260628-fc0d9b4 | 2 months ago | 125 KB | MIT |
| 56.0.4-canary-20260628-ef26abf | 2 months ago | 125 KB | MIT |
| 57.0.0 | 2 months ago | 59 KB | MIT |
| 56.0.4-canary-20260624-9d83b81 | 2 months ago | 68 KB | MIT |
Overview
expo-keep-awake is an npm package that provides a React component that prevents the screen sleeping when rendered. It also exposes static methods to control the behavior imperatively. It has 1 known dependents in the graph. The latest version is 57.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need provides a React component that prevents the screen sleeping when rendered. It also exposes static methods to control the behavior imperatively and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Keywords
Frequently asked questions
Should I use expo-keep-awake?
Yes — expo-keep-awake scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 56 days ago. 50 releases in the last 2 years.
How do I install expo-keep-awake?
Run `npm install expo-keep-awake` to add expo-keep-awake to your npm project.
What license is expo-keep-awake released under?
expo-keep-awake is distributed under the MIT license.
How popular is expo-keep-awake?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on expo-keep-awake.
Is expo-keep-awake still maintained?
The most recent release of expo-keep-awake (v57.0.1) was published 1 month ago.
Does expo-keep-awake run install scripts?
No. expo-keep-awake does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.