{"_id":"source-map-to-comment","_rev":"518164","name":"source-map-to-comment","description":"Convert a Source Map object to a comment","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-08-09T21:35:45.000Z","created":"2015-02-16T15:29:55.144Z","3.0.0":"2021-08-09T21:34:47.526Z","2.0.0":"2019-05-30T17:50:43.095Z","1.1.0":"2016-04-04T15:01:49.106Z","1.0.0":"2015-02-16T15:29:55.144Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/source-map-to-comment.git"},"versions":{"3.0.0":{"name":"source-map-to-comment","version":"3.0.0","description":"Convert a Source Map object to a comment","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/source-map-to-comment.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava"},"keywords":["sourcemap","sourcemaps","source-map","source-maps","source","maps","map","convert","object","comment","inline","base64"],"devDependencies":{"ava":"^3.15.0","xo":"^0.44.0"},"gitHead":"cd6296858cd41ddd6e014f11f351facfe641a62c","bugs":{"url":"https://github.com/sindresorhus/source-map-to-comment/issues"},"homepage":"https://github.com/sindresorhus/source-map-to-comment#readme","_id":"source-map-to-comment@3.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e983531dc055868f2b75d3e5ca23f77a747b1f61","size":1557,"noattachment":false,"key":"/source-map-to-comment/-/source-map-to-comment-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/source-map-to-comment/download/source-map-to-comment-3.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/source-map-to-comment_3.0.0_1628544887357_0.7834093515368878"},"_hasShrinkwrap":false,"publish_time":1628544887526,"_cnpm_publish_time":1628544887526},"2.0.0":{"name":"source-map-to-comment","version":"2.0.0","description":"Convert a Source Map object to a comment","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/source-map-to-comment.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["sourcemap","sourcemaps","source-map","source-maps","source","maps","map","convert","object","comment","inline","base64"],"devDependencies":{"ava":"^1.4.1","xo":"^0.24.0"},"gitHead":"98e8fd4cc9e1413c94a9e4f8154896b0be943d01","bugs":{"url":"https://github.com/sindresorhus/source-map-to-comment/issues"},"homepage":"https://github.com/sindresorhus/source-map-to-comment#readme","_id":"source-map-to-comment@2.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1f813ebd0aa2cbbdf0ba37b398aa42e2811c8bab","size":1530,"noattachment":false,"key":"/source-map-to-comment/-/source-map-to-comment-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/source-map-to-comment/download/source-map-to-comment-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/source-map-to-comment_2.0.0_1559238642971_0.4880689781809977"},"_hasShrinkwrap":false,"publish_time":1559238643095,"_cnpm_publish_time":1559238643095},"1.1.0":{"name":"source-map-to-comment","version":"1.1.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":"xo && ava"},"files":["index.js"],"keywords":["sourcemap","sourcemaps","source-map","source-maps","source","maps","map","convert","object","comment","inline","base64"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"c57b0494c298f6d293db3936707b7e565f8c35b8","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.1.0","_shasum":"e518c40bc7399b2e23c8e331a11635a97750e9c3","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e518c40bc7399b2e23c8e331a11635a97750e9c3","size":1585,"noattachment":false,"key":"/source-map-to-comment/-/source-map-to-comment-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/source-map-to-comment/download/source-map-to-comment-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/source-map-to-comment-1.1.0.tgz_1459782108543_0.9761738432571292"},"directories":{},"publish_time":1459782109106,"_cnpm_publish_time":1459782109106,"_hasShrinkwrap":false},"1.0.0":{"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":""}],"dist":{"shasum":"ae054382277459a00f07fefb6fd6ea1c84d7a0ae","size":1495,"noattachment":false,"key":"/source-map-to-comment/-/source-map-to-comment-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/source-map-to-comment/download/source-map-to-comment-1.0.0.tgz"},"directories":{},"publish_time":1424100595144,"_cnpm_publish_time":1424100595144,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/sindresorhus/source-map-to-comment#readme","bugs":{"url":"https://github.com/sindresorhus/source-map-to-comment/issues"},"license":"MIT"}