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

Method toString

src/SourceMap.ts:98–100  ·  view source on GitHub ↗

* Returns the equivalent of `JSON.stringify(map)`

()

Source from the content-addressed store, hash-verified

96 * Returns the equivalent of `JSON.stringify(map)`
97 */
98 toString(): string {
99 return JSON.stringify(this)
100 }
101
102 /**
103 * Returns a DataURI containing the sourcemap. Useful for doing this sort of thing:

Callers 2

toUrlMethod · 0.95
getBtoaFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected