# Expo Migrate Module

> Swift Expo module 1.0 DSL → 2.0 macros

**Subcategory:** Expo  
**License:** MIT  
**Source:** https://github.com/expo/skills/blob/main/plugins/expo-experiments/skills/expo-migrate-module/SKILL.md

---

## When it is useful

Swift Expo module 1.0 DSL → 2.0 macros (`@ExpoModule`, `@JS`, …). Preserve the JS contract. Use when migrating an existing Swift module off the definition DSL onto Expo Modules API 2.0 macros. Requires expo ≥ 57.0.7. Not for new modules (expo-module), not SDK upgrades (expo-upgrade), not Android/Kotlin.

## The Catch

Experiments path, not the main expo plugin. Requires expo ≥ 57.0.7. Not for new modules (expo-module), not SDK upgrades (expo-upgrade), not Android/Kotlin.
