open-index/open-npm huggingface dataset:
npm package: @gridstorm/codemod
Description: Codemod CLI to migrate from AG Grid to GridStorm
Author: GridStorm
Latest version: 0.1.3

# @gridstorm/codemod

CLI tool to automatically migrate your codebase from AG Grid to GridStorm.

## Install

```bash
npm install -g @gridstorm/codemod
```

## Usage

```bash
# Migrate a directory
gridstorm-codemod ./src

# Dry run (preview changes without writing)
gridstorm-codemod ./src --dry-run

# Target specific file patterns
gridstorm-codemod ./src --include "**/*.tsx"
```

## What It Transforms

- AG Grid import paths to GridStorm equivalents
- Component props and configuration options
- Column definition API differences
- Event handler signatures

## Documentation

[Migration Guide](https://grid-data-analytics-explorer.vercel.app//docs/migration) | [Codemod Reference](https://grid-data-analytics-explorer.vercel.app//docs/codemod)

## License

MIT
npm package: @gridstorm/core
Description: GridStorm core engine — framework-agnostic data grid state management
Author: GridStorm
Latest version: 0.1.3

# @gridstorm/core

Framework-agnostic data grid engine with state management, event/command bus, and plugin system.

## Install

```bash
npm install @gridstorm/core
```

## Usage

```typescript
import { createGridEngine } from '@gridstorm/core';

const engine = createGridEngine({
  columnDefs: [
    { field: 'name', headerName: 'Name' },
    { field: 'age', headerName: 'Age', type: 'number' },
  ],
  rowData: [
    { id: 1, name: 'Alice', age: 32 },
    { id: 2, name: 'Bob', age: 28 },
  ],
  plugins: [],
});

const rows = engine.getDisplayedRows();
```

## Key Concepts

- **Store** -- Immutable state slices with batched updates
- **CommandBus** -- Unidirectional data flow; commands are the only way to mutate state
- **EventBus** -- Subscribe to state changes and grid lifecycle events
- **PluginManager** -- Topological dependency resolution and lifecycle hooks
- **GridEngine** -- Orchestrates everything into a single API surface

## Documentation

[Full API Reference](https://grid-data-analytics-explorer.vercel.app//api/core) | [Architecture Guide](https://grid-data-analytics-explorer.vercel.app//docs/architecture)

## License

MIT