casl vs query

casl and query share 4 technologies: Angular, React, Svelte, and Vue. casl is written in JavaScript and query in TypeScript.

Read it as markdown

What they share and what sets them apart

stalniy

casl

CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access

JavaScript7.1kRead on November 20, 2026, at commit e2d857aWhat is casl built with?

Only in casl

In common

TanStack

query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

TypeScript50.6kRead on November 18, 2026, at commit b2dd6f3What is query built with?

Only in query

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
casl16,746 lines written119 code files
query265,344 lines written351 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
casl0.1% of its commits signed by AIWith GitHub Copilot
query0.5% of its commits signed by AIWith Claude Code, CodeRabbit, Codex, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
caslLast push November 20, 20261,971 commits7,118 stars
queryLast push November 18, 20265,976 commits50,574 stars
TestsThe files that test the code, and the share of code files a test imports.
casl32 test files10.1% of its code files have a test that imports them
query427 test files48.4% of its code files have a test that imports them

Frequently asked questions

Which is bigger, casl or query?
query, with 265,344 lines written; casl has 16,746.

The proof: TanStack/query's code at commit b2dd6f3

Which has more GitHub stars, casl or query?
query, with 50,574 stars; casl has 7,118.

The proof: TanStack/query on GitHub

Which has more tests, casl or query?
query, with 427 test files; casl has 32.

The proof: TanStack/query's code at commit b2dd6f3

Which was updated more recently, casl or query?
casl: its last push was on November 20, 2026, and query's on November 18, 2026.

The proof: stalniy/casl's commits on GitHub

Which has more commits signed by AI, casl or query?
query: an AI signed 0.5% of its commits, with Claude Code, CodeRabbit, Codex, and GitHub Copilot; in casl, 0.1%.

The proof: the commits each tool signed in TanStack/query

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Or look inside SeeRepo's own →