</>PackageGraphPackageGraph

babel-preset-expo

npmv57.0.11TypeScript

The Babel preset for Expo projects

Adopt with care

babel-preset-expo is usable, with caveats. Pulls in 107 transitive packages, about 18 MB installed (at least — some of the tree is still being crawled).

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 1 days ago. 50 releases in the last 2 years.

  • DWeight: grade D, Poor — a real concern.

    Pulls in 107 transitive packages, about 18 MB installed (at least — some of the tree is still being crawled).

  • ASupply chain: grade A, Excellent.

    No install scripts, 12 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 babel-preset-expo to a project.

42
Direct dependencies

Runtime packages this one declares itself.

107
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

18 MB
Install size

Unpacked size of this package plus its entire runtime tree.

5
Tree depth

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

Apache-2.0CC-BY-4.0ISCMIT

Every license you inherit by installing babel-preset-expo, 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

Quick start

A usage example from the babel-preset-expo README.

[
  'babel-preset-expo',
  {
    'react-compiler': {
      sources: (filename) => {
        // Match file names to include in the React Compiler.
        return filename.includes('src/path/to/dir');
      },
    },
  },
];

babel-preset-expo vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
babel-preset-expothis page01MIT1 day ago
jsc-safe-url9.8M20BSD1 day ago
@expo/config9.1M5MIT1 day ago
expo-file-system8.4M1MIT1 day ago
@react-native/metro-config4.4M6MIT1 day ago
@expo/config-plugins05MIT1 day ago

Dependencies

Declared by babel-preset-expo v57.0.11. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (42)

@babel/generator ^7.20.5@babel/helper-module-imports ^7.25.9@babel/plugin-proposal-decorators ^7.12.9@babel/plugin-proposal-export-default-from ^7.24.7@babel/plugin-syntax-dynamic-import ^7.8.3@babel/plugin-syntax-export-default-from ^7.24.7@babel/plugin-syntax-nullish-coalescing-operator ^7.8.3@babel/plugin-syntax-optional-chaining ^7.8.3@babel/plugin-transform-async-generator-functions ^7.25.4@babel/plugin-transform-async-to-generator ^7.24.7@babel/plugin-transform-block-scoping ^7.25.0@babel/plugin-transform-class-properties ^7.25.4@babel/plugin-transform-class-static-block ^7.27.1@babel/plugin-transform-classes ^7.25.4@babel/plugin-transform-destructuring ^7.24.8@babel/plugin-transform-export-namespace-from ^7.25.9@babel/plugin-transform-flow-strip-types ^7.25.2@babel/plugin-transform-for-of ^7.24.7@babel/plugin-transform-logical-assignment-operators ^7.24.7@babel/plugin-transform-modules-commonjs ^7.24.8@babel/plugin-transform-named-capturing-groups-regex ^7.24.7@babel/plugin-transform-nullish-coalescing-operator ^7.24.7@babel/plugin-transform-object-rest-spread ^7.24.7@babel/plugin-transform-optional-catch-binding ^7.24.7@babel/plugin-transform-optional-chaining ^7.24.8@babel/plugin-transform-parameters ^7.24.7@babel/plugin-transform-private-methods ^7.24.7@babel/plugin-transform-private-property-in-object ^7.24.7@babel/plugin-transform-react-display-name ^7.24.7@babel/plugin-transform-react-jsx ^7.28.6@babel/plugin-transform-react-jsx-development ^7.27.1@babel/plugin-transform-react-pure-annotations ^7.27.1@babel/plugin-transform-runtime ^7.24.7@babel/plugin-transform-typescript ^7.25.2@babel/plugin-transform-unicode-regex ^7.24.7@babel/preset-typescript ^7.23.0@react-native/babel-plugin-codegen 0.86.3babel-plugin-react-compiler ^1.0.0babel-plugin-react-native-web ~0.21.0babel-plugin-syntax-hermes-parser ^0.36.0babel-plugin-transform-flow-enums ^0.0.2debug ^4.3.4

Used by

Popular packages that depend on babel-preset-expo.

Relationship graph

Dependencies (left) and dependents (right) of babel-preset-expo.

Frequently installed together

Release history

50 releases in the last two years, typically about 2 days apart.

Recent versions of babel-preset-expo
VersionPublishedSizeLicense
57.0.11latest1 day ago304 KBMIT
58.0.0-canary-20260902-26df09e7 days ago302 KBMIT
57.0.108 days ago304 KBMIT
56.0.2012 days ago304 KBMIT
57.0.914 days ago304 KBMIT
55.0.2515 days ago154 KBMIT
57.0.817 days ago304 KBMIT
57.0.726 days ago304 KBMIT
58.0.0-canary-20260812-27f94d428 days ago302 KBMIT
58.0.0-canary-20260806-8c2d0071 month ago302 KBMIT
56.0.191 month ago304 KBMIT
57.0.61 month ago304 KBMIT
57.0.51 month ago299 KBMIT
57.0.0-canary-20260723-64edab91 month ago297 KBMIT
56.0.181 month ago299 KBMIT

Overview

babel-preset-expo is an npm package that the Babel preset for Expo projects. It has 1 known dependents in the graph. The latest version is 57.0.11, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need the Babel preset for Expo projects and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (59 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use babel-preset-expo?

babel-preset-expo is usable, with caveats. Pulls in 107 transitive packages, about 18 MB installed (at least — some of the tree is still being crawled).

How do I install babel-preset-expo?

Run `npm install babel-preset-expo` to add babel-preset-expo to your npm project.

How many dependencies does babel-preset-expo have?

babel-preset-expo declares 59 direct dependencies and pulls in 107 packages in total once its runtime tree is resolved totalling about 18 MB on disk.

What license is babel-preset-expo released under?

babel-preset-expo is distributed under the MIT license. Its dependency tree also includes: Apache-2.0, CC-BY-4.0, ISC, MIT.

How popular is babel-preset-expo?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on babel-preset-expo.

Is babel-preset-expo still maintained?

The most recent release of babel-preset-expo (v57.0.11) was published 1 day ago.

Does babel-preset-expo run install scripts?

No. babel-preset-expo does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.