{"_id":"inline-source-map-comment","_rev":"17-8391181c73f00ae4b1cb2bed39739441","name":"inline-source-map-comment","description":"Create an inline source map comment from a source map","dist-tags":{"latest":"1.0.5"},"versions":{"0.0.0":{"name":"inline-source-map-comment","version":"0.0.0","description":"Create an inline source map comment from a source map","repository":{"type":"git","url":"https://github.com/shinnn/inline-source-map-comment"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --ignore-path .gitignore . & jscs .","test-node":"node test/test-api/test-node.js","test-browser":"testling","test-cli":"node  test/test-cli/test-cli.js","test":"${npm_package_scripts_test_node} && ${npm_package_scripts_test_browser} && ${npm_package_scripts_test_cli}","coverage":"istanbul cover test/test-api/test-node.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/inline-source-map-comment/blob/master/LICENSE"}],"main":"inline-source-map-comment-node.js","bin":{"inline-source-map-comment":"cli.js"},"files":["cli.js","inline-source-map-comment-node.js","LICENSE"],"keywords":["inline","sourcemap","source","map","comment","js","css","cli","browser","client-side"],"dependencies":{"chalk":"^0.5.1","get-stdin":"^3.0.0","minimist":"^1.1.0"},"devDependencies":{"browserify":"^6.0.2","eslint":"^0.8.2","istanbul":"^0.3.2","istanbul-coveralls":"^1.0.1","jscs":"^1.6.2","load-pkg":"^0.1.0","tape":"^3.0.0","testling":"^1.7.1","xtend":"^4.0.0"},"testling":{"files":["test/test-api/test-browser.js","test/test-api/test-browser-cjs.js"]},"gitHead":"51bcd272e4da616b50af59e80a8311f41ebc46ad","bugs":{"url":"https://github.com/shinnn/inline-source-map-comment/issues"},"homepage":"https://github.com/shinnn/inline-source-map-comment","_id":"inline-source-map-comment@0.0.0","_shasum":"4399a9ca12fdc2c2fb6ae0a4a9231e3ae351e7ec","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"4399a9ca12fdc2c2fb6ae0a4a9231e3ae351e7ec","tarball":"https://registry.npmjs.org/inline-source-map-comment/-/inline-source-map-comment-0.0.0.tgz","integrity":"sha512-GSjcNyDbteKXUV+HK5tVfES3G2dQSjjJ/gKfUtzTks1urRSPr+X5M0FSMjS63mCsTFEIATwbtqMDvLhBv37ywg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAIMLs+3QoXD6lfvaiDIyXNu/v02WAAEN54ge6XND4OJAiEA6j5yt9IEgA/QqZSwE7qVw7W/ypI0Ft9+ViOyITYEwFg="}]}},"1.0.0":{"name":"inline-source-map-comment","version":"1.0.0","description":"Create an inline source map comment from a source map","repository":{"type":"git","url":"https://github.com/shinnn/inline-source-map-comment"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --ignore-path .gitignore . & jscs .","test-node":"node test/test-api/test-node.js","test-browser":"testling","test-cli":"node  test/test-cli/test-cli.js","test":"${npm_package_scripts_test_node} && ${npm_package_scripts_test_browser} && ${npm_package_scripts_test_cli}","coverage":"istanbul cover test/test-api/test-node.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/inline-source-map-comment/blob/master/LICENSE"}],"main":"inline-source-map-comment-node.js","bin":{"inline-source-map-comment":"cli.js"},"files":["cli.js","inline-source-map-comment-node.js","LICENSE"],"keywords":["inline","sourcemap","source","map","comment","js","css","cli","browser","client-side"],"dependencies":{"chalk":"^0.5.1","get-stdin":"^3.0.0","minimist":"^1.1.0"},"devDependencies":{"browserify":"^6.0.2","eslint":"^0.8.2","istanbul":"^0.3.2","istanbul-coveralls":"^1.0.1","jscs":"^1.6.2","load-pkg":"^0.1.0","require-main":"^0.1.1","tape":"^3.0.0","testling":"^1.7.1","xtend":"^4.0.0"},"testling":{"files":["test/test-api/test-browser.js","test/test-api/test-browser-cjs.js"]},"gitHead":"0e0fe851c1c90abb753d38ce8ae2c350edbd5d58","bugs":{"url":"https://github.com/shinnn/inline-source-map-comment/issues"},"homepage":"https://github.com/shinnn/inline-source-map-comment","_id":"inline-source-map-comment@1.0.0","_shasum":"14f3c675d46b9cd39e5fb295753aafcee10cb107","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"14f3c675d46b9cd39e5fb295753aafcee10cb107","tarball":"https://registry.npmjs.org/inline-source-map-comment/-/inline-source-map-comment-1.0.0.tgz","integrity":"sha512-1YK3dPaoZDO7XqUl8vnOGZmaaBZcGRoxMHmNVi8uJkPpgIQO36r1kZJCRC1r6gWKtrWvlTC4lg7oeNswhoApzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3/+41WLav69dtjZDUNrsSNPywuwNGy/ED3wqOsVzaJAIhAOmUcwVbshINAqp6RI5kS2pQnlk+a9L0030rvA0hal99"}]}},"1.0.1":{"name":"inline-source-map-comment","version":"1.0.1","description":"Create an inline source map comment from a source map","repository":{"type":"git","url":"https://github.com/shinnn/inline-source-map-comment"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --ignore-path .gitignore . && jscs .","test-node":"node test/test-api/test-node.js","test-browser":"testling","test-cli":"node test/test-cli/test-cli.js","test":"${npm_package_scripts_test_node} && ${npm_package_scripts_test_browser} && ${npm_package_scripts_test_cli}","coverage":"istanbul cover test/test-api/test-node.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/inline-source-map-comment/blob/master/LICENSE"}],"main":"inline-source-map-comment-node.js","bin":{"inline-source-map-comment":"cli.js"},"files":["cli.js","inline-source-map-comment-node.js","LICENSE"],"keywords":["inline","sourcemap","source","map","comment","js","css","cli","browser","client-side"],"dependencies":{"chalk":"^0.5.1","get-stdin":"^3.0.2","minimist":"^1.1.0","sum-up":"^1.0.0"},"devDependencies":{"eslint":"^0.10.0","istanbul":"^0.3.2","istanbul-coveralls":"^1.0.1","jscs":"^1.8.1","tape":"^3.0.3","testling":"^1.7.1","xtend":"^4.0.0"},"jscsConfig":{"preset":"google","maximumLineLength":null,"excludeFiles":["{coverage,node_modules}/**"]},"testling":{"files":["test/test-api/test-browser.js","test/test-api/test-browser-cjs.js"]},"gitHead":"6102c2a803fa0d77169c5276b9d6c08851d94640","bugs":{"url":"https://github.com/shinnn/inline-source-map-comment/issues"},"homepage":"https://github.com/shinnn/inline-source-map-comment","_id":"inline-source-map-comment@1.0.1","_shasum":"ec54e6613ed68be737251863734612c08c9139e1","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"ec54e6613ed68be737251863734612c08c9139e1","tarball":"https://registry.npmjs.org/inline-source-map-comment/-/inline-source-map-comment-1.0.1.tgz","integrity":"sha512-3TsFq0lHgL99s+MXEzqv4TV2g5kf667G3PSa8Cub563+3Bu1ZZB/deSKFqacT4KG6YR3chW/onYjA2N51PnG/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCyl8+y+EIK7B0AvpqDt33g7BE1BSAPSqZUzbU51UIXwIgTRI7St3/TNMgng8e0EQV96aMvxce5UTvOIcBTa3PUzs="}]}},"1.0.2":{"name":"inline-source-map-comment","version":"1.0.2","description":"Create an inline source map comment from a source map","repository":{"type":"git","url":"https://github.com/shinnn/inline-source-map-comment"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"jscs . && eslint --ignore-path .gitignore .","test-node":"node test-api/test-node.js | tap-spec","test-browser":"testling | tap-spec","test-cli":"node test-cli/test-cli.js | tap-spec","test":"npm run test-node && npm run test-browser && npm run test-cli","coverage":"istanbul cover test-api/test-node.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/inline-source-map-comment/blob/master/LICENSE"}],"main":"inline-source-map-comment-node.js","browser":"inline-source-map-comment-cjs.js","bin":{"inline-source-map-comment":"cli.js"},"files":["cli.js","inline-source-map-comment-cjs.js","inline-source-map-comment-node.js","LICENSE"],"keywords":["inline","sourcemap","source","map","comment","js","css","cli","browser","client-side"],"dependencies":{"chalk":"^0.5.1","get-stdin":"^3.0.2","minimist":"^1.1.0","sum-up":"^1.0.0","xtend":"^4.0.0"},"devDependencies":{"eslint":"^0.10.2","istanbul":"^0.3.5","istanbul-coveralls":"^1.0.1","jscs":"^1.8.1","tap-spec":"^2.1.1","tape":"^3.0.3","testling":"^1.7.1"},"jscsConfig":{"preset":"google","maximumLineLength":null,"validateLineBreaks":"LF","excludeFiles":["{coverage,node_modules}/**"]},"testling":{"files":["test-api/test-browser.js","test-api/test-browser-cjs.js"]},"gitHead":"ad8f97b7876d4bf883a2eb0460197af9f8ea86a9","bugs":{"url":"https://github.com/shinnn/inline-source-map-comment/issues"},"homepage":"https://github.com/shinnn/inline-source-map-comment","_id":"inline-source-map-comment@1.0.2","_shasum":"8fba79d6a73e0a73693dba4cee0c79b70f1a6811","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"8fba79d6a73e0a73693dba4cee0c79b70f1a6811","tarball":"https://registry.npmjs.org/inline-source-map-comment/-/inline-source-map-comment-1.0.2.tgz","integrity":"sha512-NKIP9HXqduhB9UEVxKhXqucJgrb8yZ5mpYoB0JkRR/PWK5V/AI2hJS/XhrLVIQksvKPHsrCl0B/xW6wV4Xry4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2z8v3tppBQDSoWhYruWCjGkR71CnLtcLOYCb7Qp4wDAiA2QWqSf97+A6vZp6UdipOanAVQs5SDGCKCCv/gHigUGA=="}]}},"1.0.3":{"name":"inline-source-map-comment","version":"1.0.3","description":"Create an inline source map comment from a source map","repository":{"type":"git","url":"https://github.com/shinnn/inline-source-map-comment"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"jscs *.js test-*/*.js && eslint *.js test-*/*.js","test-node":"tape test-api/test-node.js test-cli/test-cli.js","test-browser":"testling","test":"${npm_package_scripts_test_node} | tap-spec && ${npm_package_scripts_test_browser} | tap-spec","coverage":"istanbul cover test-api/test-node.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/inline-source-map-comment/blob/master/LICENSE"}],"main":"inline-source-map-comment-node.js","browser":"inline-source-map-comment-cjs.js","bin":{"inline-source-map-comment":"cli.js"},"files":["cli.js","inline-source-map-comment-cjs.js","inline-source-map-comment-node.js"],"keywords":["inline","sourcemap","source","map","comment","js","css","cli","browser","client-side"],"dependencies":{"chalk":"^0.5.1","get-stdin":"^4.0.1","minimist":"^1.1.0","sum-up":"^1.0.0","xtend":"^4.0.0"},"devDependencies":{"eslint":"^0.12.0","istanbul":"^0.3.5","istanbul-coveralls":"^1.0.1","jscs":"^1.10.0","tap-spec":"^2.2.0","tape":"^3.4.0","testling":"^1.7.1"},"jscsConfig":{"preset":"google","maximumLineLength":null,"validateLineBreaks":"LF"},"testling":{"files":["test-api/test-browser.js","test-api/test-browser-cjs.js"]},"gitHead":"87c3415e2851088178b159160f473cab393ee709","bugs":{"url":"https://github.com/shinnn/inline-source-map-comment/issues"},"homepage":"https://github.com/shinnn/inline-source-map-comment","_id":"inline-source-map-comment@1.0.3","_shasum":"acb362c5fcd2df81e038e6b00332c41fed564d22","_from":".","_npmVersion":"2.2.0","_nodeVersion":"1.0.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"acb362c5fcd2df81e038e6b00332c41fed564d22","tarball":"https://registry.npmjs.org/inline-source-map-comment/-/inline-source-map-comment-1.0.3.tgz","integrity":"sha512-VHisVS2Dz1gfQXv0+nGYV1q7fHHNAjWpIw7mQyH4GQ/AvHyh3sUgY4PNBHSDbkIlYWKJLfrIOIag8MZXjLvGsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELvPIxK9uN3s4E/93lgCRy0TydsVM/Lf8Je3wWTvgNYAiEAuYWrPiTxOvgpsOc2SdydCQuAilqWqd12AZeHnkMCtFo="}]}},"1.0.4":{"name":"inline-source-map-comment","version":"1.0.4","description":"Create an inline source map comment from a source map","repository":{"type":"git","url":"https://github.com/shinnn/inline-source-map-comment"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"jscs *.js test-*/*.js && eslint *.js test-*/*.js","test-node":"tape test-api/test-node.js test-cli/test-cli.js","test-browser":"testling","test":"${npm_package_scripts_test_node} | tap-spec && ${npm_package_scripts_test_browser} | tap-spec","coverage":"istanbul cover test-api/test-node.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/inline-source-map-comment/blob/master/LICENSE"}],"main":"inline-source-map-comment-node.js","browser":"inline-source-map-comment-cjs.js","bin":{"inline-source-map-comment":"cli.js"},"files":["cli.js","inline-source-map-comment-cjs.js","inline-source-map-comment-node.js"],"keywords":["inline","sourcemap","source","map","comment","js","css","cli","browser","client-side"],"dependencies":{"chalk":"^1.0.0","get-stdin":"^4.0.1","minimist":"^1.1.0","sum-up":"^1.0.1","xtend":"^4.0.0"},"devDependencies":{"eslint":"^0.15.0","istanbul":"^0.3.6","istanbul-coveralls":"^1.0.1","jscs":"^1.11.3","tap-spec":"^2.2.1","tape":"^3.5.0","testling":"^1.7.1"},"jscsConfig":{"preset":"google","maximumLineLength":null,"validateLineBreaks":"LF"},"testling":{"files":["test-api/test-browser.js","test-api/test-browser-cjs.js"]},"gitHead":"0c64abc32bc7debc34c543d1b8cd54e2ca4b6d6f","bugs":{"url":"https://github.com/shinnn/inline-source-map-comment/issues"},"homepage":"https://github.com/shinnn/inline-source-map-comment","_id":"inline-source-map-comment@1.0.4","_shasum":"87a5f22d41cc6434ba6b00d25323c3934c51e098","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"87a5f22d41cc6434ba6b00d25323c3934c51e098","tarball":"https://registry.npmjs.org/inline-source-map-comment/-/inline-source-map-comment-1.0.4.tgz","integrity":"sha512-e9sN+4G2rkmUsoWXJd1Ydfpbfzh6s6G3qpfGPM/dicvwLW+FdUhP62PVgPLsY+hV+xtF3HMXkHFSC5HPTstaZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9+61FSKQuSG6J2DEz6iJZBGhNHOiJ7uwA1AcHtbkKtAiEAr89s0/qzRajIo/c1T/Oaqu/4Eoif93o5VloOR8OOkUk="}]}},"1.0.5":{"name":"inline-source-map-comment","version":"1.0.5","description":"Create an inline source map comment from a source map","repository":{"type":"git","url":"https://github.com/shinnn/inline-source-map-comment"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"jscs *.js test-*/*.js && eslint *.js test-*/*.js","test-node":"tape test-api/test-node.js test-cli/test-cli.js","test-browser":"run-browser test-api/test-browser{,-cjs}.js --phantom","test":"${npm_package_scripts_test_node} | tap-spec && ${npm_package_scripts_test_browser} | tap-spec","coverage":"istanbul cover test-api/test-node.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/inline-source-map-comment/blob/master/LICENSE"}],"main":"inline-source-map-comment-node.js","browser":"inline-source-map-comment-cjs.js","bin":{"inline-source-map-comment":"cli.js"},"files":["cli.js","inline-source-map-comment-cjs.js","inline-source-map-comment-node.js"],"keywords":["inline","sourcemap","source","map","comment","js","css","cli","browser","client-side"],"dependencies":{"chalk":"^1.0.0","get-stdin":"^4.0.1","minimist":"^1.1.1","sum-up":"^1.0.1","xtend":"^4.0.0"},"devDependencies":{"eslint":"^0.18.0","istanbul":"^0.3.13","istanbul-coveralls":"^1.0.2","jscs":"^1.12.0","run-browser":"^2.0.2","tap-spec":"^2.2.2","tape":"^3.5.0"},"jscsConfig":{"preset":"google","maximumLineLength":null,"validateLineBreaks":"LF"},"gitHead":"971b5b8a06ef52584736130aab22ef87154c984b","bugs":{"url":"https://github.com/shinnn/inline-source-map-comment/issues"},"homepage":"https://github.com/shinnn/inline-source-map-comment","_id":"inline-source-map-comment@1.0.5","_shasum":"50a8a44c2a790dfac441b5c94eccd5462635faf6","_from":".","_npmVersion":"2.7.3","_nodeVersion":"1.6.2","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"50a8a44c2a790dfac441b5c94eccd5462635faf6","tarball":"https://registry.npmjs.org/inline-source-map-comment/-/inline-source-map-comment-1.0.5.tgz","integrity":"sha512-a3/m6XgooVCXkZCduOb7pkuvUtNKt4DaqaggKKJrMQHQsqt6JcJXEreExeZiiK4vWL/cM/uF6+chH05pz2/TdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHBv+MxSEFOSphVXDPv0Suh5ZpPquHyHb0KC2I7nb1YMAiB9PNFIL4hIuVgBWpogw22iN5rWAEu8+70/vHXee9bNtA=="}]}}},"readme":"# inline-source-map-comment\n\n[![NPM version](https://img.shields.io/npm/v/inline-source-map-comment.svg)](https://www.npmjs.com/package/inline-source-map-comment)\n[![Bower version](https://img.shields.io/bower/v/inline-source-map-comment.svg)](https://github.com/shinnn/inline-source-map-comment/releases)\n[![Build Status](https://travis-ci.org/shinnn/inline-source-map-comment.svg?branch=master)](https://travis-ci.org/shinnn/inline-source-map-comment)\n[![Build status](https://ci.appveyor.com/api/projects/status/57fmdhy41qainu8g?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/inline-source-map-comment)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/inline-source-map-comment.svg?label=cov)](https://coveralls.io/r/shinnn/inline-source-map-comment)\n[![Dependency Status](https://img.shields.io/david/shinnn/inline-source-map-comment.svg?label=deps)](https://david-dm.org/shinnn/inline-source-map-comment)\n[![devDependency Status](https://img.shields.io/david/shinnn/inline-source-map-comment.svg?label=devDeps)](https://david-dm.org/shinnn/inline-source-map-comment#info=devDependencies)\n\nCreate an inline source map comment from a source map object or string\n\n```javascript\nvar inlineSourceMapComment = require('inline-source-map-comment');\n\nvar fixture = {\n  version:3,\n  file: 'output.js.map',\n  sources: ['input.js'],\n  names: [],\n  mappings: 'AAAA'\n};\n\ninlineSourceMapComment(fixture);\n//=> \"//# sourceMappingURL=data:application/json;base64,eyJ2ZXJza ...\"\n```\n\n## Installation\n\n### Package managers\n\n#### [npm](https://www.npmjs.com/)\n\n```sh\nnpm install inline-source-map-comment\n```\n\n#### [bower](http://bower.io/)\n\n```sh\nbower install inline-source-map-comment\n```\n\n#### [Duo](http://duojs.org/)\n\n```javascript\nvar inlineSourceMapComment = require('shinnn/inline-source-map-comment');\n```\n\n### Standalone\n\n[Download the script file directly.](https://raw.githubusercontent.com/shinnn/inline-source-map-comment/master/inline-source-map-comment.js)\n\n## API\n\n### inlineSourceMapComment(*sourceMap* [, *options*])\n\n*sourceMap*: `String` or `Object`  \n*options*: `Object`  \nReturn: `String`\n\nIt returns a line comment of [base64](https://wikipedia.org/wiki/Base64)-encoded [source map](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k).\n\nArgument can be an object of source map or a JSON string.\n\n```javascript\nvar map = '{\"version\":3,\"file\":\"a.js.map\",\"sources\":[\"b.js\"],\"names\":[],\"mappings\":\"AAAA\"}';\n\ninlineSourceMapComment(map);\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI ... \"\n\ninlineSourceMapComment(JSON.parse(map));\n//=> (Same as `inlineSourceMapComment.js(map)`)\n```\n\nIt automatically removes `sourcesContent` property from result. Use [`sourcesContent` option](#optionssourcescontent) if you want to preserve `sourcesContent` property.\n\n```javascript\nvar map = '{\"version\":3,\"file\":\"foo.js.map\",\"sources\":[\"bar.js\"], ...';\nvar one = inlineSourceMapComment(map);\n\nmap.sourcesContent = 'foo';\nvar another inlineSourceMapComment(map);\n\none === another; //=> true\n```\n\n#### options.block\n\nType: `Boolean`  \nDefault: `false`\n\nReturns a block comment instead of a line comment. It can be used for creating CSS source maps.\n\n```javascript\nvar map = '{\"version\":3,\"file\":\"foo.css.map\",\"sources\":[\"bar.js\"], ...';\n\ninlineSourceMapComment(map, {block: true});\n//=> \"/* sourceMappingURL=data:application/json;base64,eyJ2ZXJ ... */\"\n```\n\n#### options.sourcesContent\n\nType: `Boolean`  \nDefault: `false`\n\nPreserves `sourcesConteThe prefix string of basent` property.\n\n### inlineSourceMapComment.prefix\n\nType: `String`\n\nA common part of a Base64-encoded source map comment.\n\n```javascript\ninlineSourceMapComment.prefix;\n//=> \"# sourceMappingURL=data:application/json;base64,\"\n```\n\n## CLI\n\nYou can use this module as a CLI tool by installing it [globally](https://docs.npmjs.com/files/folders#global-installation).\n\n```sh\nnpm install -g inline-source-map-comment\n```\n\n### Usage\n\n```sh\nUsage1: inline-source-map-comment <source map string>\nUsage2: inline-source-map-comment --in <source map file>\nUsage3: cat <source map file> | inline-source-map-comment\n\nOptions:\n--block, --css,    -b, -c  Print a block comment instead of line comment\n--sources-content, -s      Preserve sourcesContent property\n--in, --input,     -i      Use a JSON file as a source\n--help,            -h      Print usage information\n--version,         -v      Print version\n```\n\n## License\n\nCopyright (c) 2014 - 2015 [Shinnosuke Watanabe](https://github.com/shinnn)\n\nLicensed under [the MIT License](./LICENSE).\n","maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"time":{"modified":"2022-06-19T01:22:36.545Z","created":"2014-10-06T07:47:47.594Z","0.0.0":"2014-10-06T07:47:47.594Z","1.0.0":"2014-10-08T11:59:36.088Z","1.0.1":"2014-12-05T06:10:30.565Z","1.0.2":"2014-12-13T08:42:09.022Z","1.0.3":"2015-01-22T18:16:14.971Z","1.0.4":"2015-02-24T13:28:00.378Z","1.0.5":"2015-04-01T17:48:04.767Z"},"homepage":"https://github.com/shinnn/inline-source-map-comment","keywords":["inline","sourcemap","source","map","comment","js","css","cli","browser","client-side"],"repository":{"type":"git","url":"https://github.com/shinnn/inline-source-map-comment"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bugs":{"url":"https://github.com/shinnn/inline-source-map-comment/issues"},"readmeFilename":"README.md"}