Rare find

Magic String Stack. Make changes to text while keeping track of where everything came from.

github.com/antfu/magic-string-stack

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

August 2025
  • Release —v1.1.0
  • chore: release v1.1.0
  • chore: update deps
  • fix: update `@ampproject/remapping` to `@jridgewell/remapping` (#5)
January 2025
  • Release —v1.0.0
  • chore: release v1.0.0
  • feat!: drop CJS build, now it's ESM-only
  • Release —v0.1.2
  • chore: release v0.1.2
  • chore: update deps
  • feat: support offset modification (#4)
April 2024
  • docs: fix typo (#3)
  • Release —v0.1.1
  • chore: release v0.1.1
  • fix: implement `generateDecodedMap`
  • test: add chainable test
  • fix: chainable should return the proxy function instead
  • feat: make `commit()` and `rollback()` chainable
  • docs: fix typo (#2)
  • Release —v0.1.0
  • chore: release v0.1.0
  • docs: update message for `generateDecodedMap`
  • docs: improve docs
  • feat: support rollback, fix #1
  • Release —v0.0.1
  • chore: release v0.0.1