# CommonJS Migration Example
This example demonstrates how to use morph-cli to migrate a simple CommonJS project to ECMAScript Modules (ESM).
## Instructions
1. Navigate to this directory.
2. Run the migration command in dry-run mode:
```bash
morph run commonjs-to-esm .
```
3. To apply the changes, run:
```bash
morph run commonjs-to-esm . --write
```
4. Observe `index.js` being transformed to use `import` and `export` statements.