lurq

npm package

Home

magic-string

magic-string is a utility for modifying strings and generating sourcemaps, ideal for light modifications of source code. It is particularly useful when you want to make simple changes without the overhead of a full AST manipulation library.

lurq health score
79/100
Confidence
proven
Weekly downloads
109,139,989
Latest version
1.3.1
Last release
Sep 10, 2026
License
MIT

Should you depend on magic-string?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks magic-string 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

Upgrading magic-string

What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.

Other utility packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 11, 2026; this page refreshes every 168 hours. Source repository.