npm package
Homezwitch
Zwitch is a utility package that allows handling values based on a specific property in objects, functioning similarly to a switch statement but in a more extensible manner. It is particularly useful for mapping one Abstract Syntax Tree (AST) to another. This package is ideal for scenarios where you need to dynamically handle different types of objects based on a common field.
- lurq health score
- 36/100
- Confidence
- unproven
- Weekly downloads
- 52,620,454
- Latest version
- 2.0.4
- Last release
- Nov 16, 2022
- License
- MIT
Should you depend on zwitch?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks zwitch at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- @puppeteer/browsers94/100 · proven
- puppeteer-core94/100 · proven
- puppeteer94/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 3, 2026; this page refreshes every 24 hours. Source repository.