expo-constants
npmv57.0.17TypeScriptProvides system information that remains constant throughout the lifetime of your app.
Safe to adopt
Yes — expo-constants scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 8 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 8 days ago. 50 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 5 transitive packages, about 277 KB installed (at least — some of the tree is still being crawled).
- ASupply chain: grade A, Excellent.
No install scripts, 16 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-constants 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.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing expo-constants, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
expo-constants 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-constantsthis page | 0 | 6 | MIT | 8 days ago |
| @expo/config | 9.1M | 5 | MIT | 1 day ago |
| expo-file-system | 8.4M | 1 | MIT | 1 day ago |
| @expo/dom-webview | 0 | 2 | MIT | 1 day ago |
| @expo/local-build-cache-provider | 0 | 1 | MIT | 1 day ago |
| babel-preset-expo | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by expo-constants v57.0.17. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Peer (2)
Dev (5)
Used by
Popular packages that depend on expo-constants.
The Expo SDK
An Expo universal module to download assets and pass them into other APIs
Tools for making advanced Metro bundler features work
Expo Router is a file-based router for React Native and web applications.
Expo Router is a file-based router for React Native and web applications.
Create and open deep links universally
Relationship graph
Dependencies (left) and dependents (right) of expo-constants.
Frequently installed together
The Expo SDK
React is a JavaScript library for building user interfaces.
A framework for building native apps using React
React package for working with the DOM.
Tools for making advanced Metro bundler features work
TypeScript definitions for react
Error overlay for universal Expo apps.
TypeScript definitions for node
A WebView specifically designed for Expo DOM components
React Native for Web
React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.
Native navigation primitives for your React Native app.
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 | 105 KB | MIT |
| 58.0.0-canary-20260901-2164f24 | 8 days ago | 105 KB | MIT |
| 57.0.17latest | 8 days ago | 133 KB | MIT |
| 57.0.16 | 12 days ago | 133 KB | MIT |
| 56.0.25 | 12 days ago | 132 KB | MIT |
| 57.0.15 | 14 days ago | 133 KB | MIT |
| 57.0.14 | 17 days ago | 133 KB | MIT |
| 57.0.13 | 20 days ago | 133 KB | MIT |
| 18.0.14 | 23 days ago | 126 KB | MIT |
| 56.0.24 | 23 days ago | 132 KB | MIT |
| 57.0.12 | 23 days ago | 133 KB | MIT |
| 57.0.11 | 26 days ago | 133 KB | MIT |
| 58.0.0-canary-20260812-27f94d4 | 28 days ago | 104 KB | MIT |
| 57.0.10 | 1 month ago | 133 KB | MIT |
| 58.0.0-canary-20260806-8c2d007 | 1 month ago | 104 KB | MIT |
Overview
expo-constants is an npm package that provides system information that remains constant throughout the lifetime of your app. It has 6 known dependents in the graph. The latest version is 57.0.17, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need provides system information that remains constant throughout the lifetime of your app 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.
Maintainers
Keywords
Frequently asked questions
Should I use expo-constants?
Yes — expo-constants scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 8 days ago. 50 releases in the last 2 years.
How do I install expo-constants?
Run `npm install expo-constants` to add expo-constants to your npm project.
How many dependencies does expo-constants have?
expo-constants declares 8 direct dependencies and pulls in 5 packages in total once its runtime tree is resolved totalling about 277 KB on disk.
What license is expo-constants released under?
expo-constants is distributed under the MIT license.
How popular is expo-constants?
npm does not publish download counts. Within PackageGraph's crawl, 6 known packages depend on expo-constants.
Is expo-constants still maintained?
The most recent release of expo-constants (v57.0.17) was published 8 days ago.
Does expo-constants run install scripts?
No. expo-constants does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.