{"name":"source-map-to-comment","version":"1.0.0","description":"Convert a Source Map object to a comment","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/source-map-to-comment"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["sourcemap","sourcemaps","source-map","source-maps","source","maps","map","convert","object","comment","inline","base64"],"devDependencies":{"ava":"0.0.4"},"gitHead":"e21cb5603bda9a67bed767cc35108f432ef09947","bugs":{"url":"https://github.com/sindresorhus/source-map-to-comment/issues"},"homepage":"https://github.com/sindresorhus/source-map-to-comment","_id":"source-map-to-comment@1.0.0","_shasum":"ae054382277459a00f07fefb6fd6ea1c84d7a0ae","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"ae054382277459a00f07fefb6fd6ea1c84d7a0ae","tarball":"http://registry-npm.ywwl.com/source-map-to-comment/download/source-map-to-comment-1.0.0.tgz","integrity":"sha512-2OdrwCA4VogibW4cCUFhfHsr7C/RLKz7usdSFb8G/TH4rrmZ4jKAGPSmT8LPxdzPVssOFPZj9plQbmm0ELL6OQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH1lHRsZtJ90tPho0uNhE4Drfz7LCtbIIT3nw+1SjGWUCIDNCPnbL8546Gabur6t69ZMHlBe+Wftk3qtz6e9Q8CaA"}],"size":1495,"noattachment":false,"key":"/source-map-to-comment/-/source-map-to-comment-1.0.0.tgz"},"directories":{},"readme":"# source-map-to-comment\n\n> Convert a Source Map object to a comment\n\n## Install\n\n```\n$ npm install source-map-to-comment\n```\n\n## Usage\n\n```js\nimport sourceMapToComment from 'source-map-to-comment';\n\nconst sourceMap = getSourceMapObjectFromSomething();\n\nsourceMapToComment(sourceMap);\n//=> '//# sourceMappingURL=data:application/json;base64,eyJ2Z...'\n\nsourceMapToComment(JSON.stringify(sourceMap));\n//=> '//# sourceMappingURL=data:application/json;base64,eyJ2Z...'\n\nsourceMapToComment(sourceMap, {type: 'css'});\n//=> '/*# sourceMappingURL=data:application/json;base64,eyJ2Z... */'\n```\n","publish_time":1424100595144,"_cnpm_publish_time":1424100595144,"dist-tags":{"latest":"3.0.0"}}