Extracts the sourceMappingUrl from a node.js read stream.
Pass it any
utf8 stream, and it gives you the source-map url in that stream. If no source-map is found, it returns
Works for both the
# formats. Only tested against JS files, but no reason it can't work for CSS files too.
var smu = zlib = http = ; var stream = http ; ;
npm install source-mapping-url
To run tests,
cd to the source-mapping-url directory, and type in