MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / toString

Method toString

benchmark/data-min.js:127–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 (this.mappings = k(t.mappings)));
126 }
127 toString() {
128 return JSON.stringify(this);
129 }
130 toUrl() {
131 return 'data:application/json;charset=utf-8;base64,' + w(this.toString());
132 }

Callers 1

toUrlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected