Ross ROSS = Recommend OSS · open-source software intelligence for agents

gkz/grasp

JavaScript structural search, replace, and refactor observed · 2026-08-28

github.com/gkz/grasp · homepage · LiveScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4758
  • days_rel: n/a
  • days_push: 3352
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1282 stars · 33 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Grasp is a command-line utility for structural search, replace, and refactoring of JavaScript code based on its abstract syntax tree rather than text. It supports CSS-style selector queries (squery) and example-based queries with wildcards (equery), and can also be used as a library.

Use cases

  • find all usages of a variable in javascript code
  • refactor javascript code structurally instead of with grep and sed
  • search javascript ast with css-like selectors
  • replace function call arguments across a codebase
  • find if statements with compound conditions
  • run codemods on javascript files from the command line

When to choose

  • you need structure-aware search or replacement in JavaScript that ignores formatting differences
  • you want to write quick one-line codemods or macros from the terminal
  • you prefer CSS-style selectors or code examples with wildcards over regex

When to avoid

  • you need to refactor languages other than JavaScript
  • you want an actively maintained tool with modern ES2020+ support
  • you need IDE-integrated refactoring rather than a CLI

Facets

cli-tool · maturity maintenance

search-engine parser developer-tools cli developer-tools parsers web-development cli cross-platform ast structural-search code-refactoring codemod javascript livescript command-line nodejs

10 sources

Member repositories

RepositoryRoleHealth v2
gkz/graspmain32

For agents

markdown · JSON · MCP: product_card(name="gkz/grasp")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem