rich-harris

rich-harris/magic-string

Manipulate strings like a wizard

JavaScript
2667
116
MIT License

MagicString is a lightweight utility for making precise string manipulations while generating accurate sourcemaps, designed for developers who need to modify code without losing formatting or comments. It's particularly useful for build tools, compilers, or any application that requires transforming source code and maintaining debuggability through sourcemaps. The library works in both Node.js and browser environments and provides methods for replacing, inserting, and moving text while tracking changes for sourcemap generation.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

Rich-Harris's profile
Rich-Harris
359 contributions
antfu's profile
antfu
80 contributions
mourner's profile
mourner
24 contributions
greenkeeperio-bot's profile
greenkeeperio-bot
14 contributions
TrySound's profile
TrySound
10 contributions
guybedford's profile
guybedford
8 contributions
eventualbuddha's profile
eventualbuddha
8 contributions
sapphi-red's profile
sapphi-red
6 contributions
btea's profile
btea
5 contributions
alangpierce's profile
alangpierce
5 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet