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

Method toString

src/SourceMap.ts:122–124  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

120 * Returns the equivalent of `JSON.stringify(map)`
121 */
122 toString(): string {
123 return JSON.stringify(this)
124 }
125
126 /**
127 * 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