New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

grepup

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grepup

AI-assisted code migration with Claude 3.7 Sonnet & ast-grep

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
2
-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

grepup

AI-Assisted Code Migration with Claude 3.7 Sonnet & ast-grep

Installation

npm install -g grepup

Prerequisites

  • Node.js 20 or higher
  • ast-grep CLI (npm install -g @ast-grep/cli)

Usage

Simply run:

grepup

Follow the interactive prompts to:

  • Describe your code migration needs
  • Review the generated ast-grep rules
  • Apply the migration to your codebase

LLMs

Currently, grepup supports only Claude 3.7 Sonnet. When you run the CLI for the first time, it'll prompt you to provide your API Key. We do not store your API key on our server. It's stored only on your local machine.

To update your API key, run:

grepup config

Development

To run the CLI in development mode, clone the repository and run:

npm install
npm run dev

Feel free to contribute to the project by opening a pull request.

Keywords

codemod

FAQs

Package last updated on 06 Mar 2025

Related posts